Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38697 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77804 invoked from network); 2 Jul 2008 06:19:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2008 06:19:17 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.30 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 74.125.46.30 yw-out-2324.google.com Received: from [74.125.46.30] ([74.125.46.30:21756] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/3A-10269-3ED1B684 for ; Wed, 02 Jul 2008 02:19:16 -0400 Received: by yw-out-2324.google.com with SMTP id 5so110684ywb.83 for ; Tue, 01 Jul 2008 23:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/dqiKVnxwAmrhprEBhfiRGKvNlvMqTQpYzTM7xB/t6M=; b=GVWhskuLjj7WJ0ldunnij5pWPXISWbphVn5HTXfg79EB2pjpuJKkMuFyBC3lSxe78+ Rdu7YlgJd2BaPM2Q6Ql1s88PXu5qH3ipFecFo0pvKNUK3CyMImQGcrqOkYFYHQC/gNto pJyIAUuViHZ2JyKW52WPEZAuvQtz+d3BIcKEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=se8wphQjSxzR6XBaey3m0wn1U4JzjF6nl6FpxFpdjlhuPsB5oKUSk3MoRjAp0N0kDa lp6og0ZLySbx38TvR/N0X/nHF2NVmwXkI6+GCpyJvCaFCldqrZOWYkDM6/3E/ZR8tBQ5 ToF0SZbbAwo2XIMUmKCnWJh+tSqMmseANd4zI= Received: by 10.151.143.3 with SMTP id v3mr12095248ybn.229.1214979553482; Tue, 01 Jul 2008 23:19:13 -0700 (PDT) Received: by 10.150.158.8 with HTTP; Tue, 1 Jul 2008 23:19:13 -0700 (PDT) Message-ID: Date: Wed, 2 Jul 2008 10:19:13 +0400 To: "Antony Dovgal" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <486894FF.4000305@daylessday.org> <48689908.2040007@daylessday.org> Subject: Re: [PHP-DEV] mac os x, test failure From: indeyets@gmail.com ("Alexey Zakhlestin") some more details. the return-chain in this case is following: virtual_file_ex(..., path, ...) -> returns 1, because path_length >= MAXPATHLEN expand_filepath(filepath, ...) -> returns null _php_stream_fopen(filename, ...) -> returns null php_plain_files_stream_opener(..., path, ...) -> returns null _php_stream_open_wrapper_ex(path, ...) calls php_stream_display_wrapper_errors() php_stream_display_wrapper_errors() checks errno-value I don't see how any function here might set errno to any value. How does this work on other operating-systems? On Mon, Jun 30, 2008 at 12:29 PM, Alexey Zakhlestin wrote: > On Mon, Jun 30, 2008 at 12:27 PM, Antony Dovgal wrote: >> On 30.06.2008 12:24, Alexey Zakhlestin wrote: >>>> >>>> It might also mean that the error message is different on Mac OS or the >>>> error code is different. >>>> I've seen that many times on different platforms. >>> >>> that's what I thought at first, but testing showed, that it is not that >>> simple. >>> >>> plain fopen() in C on large file-name results in "File name too long" >>> error. >>> php never reaches open() call and error "Inappropriate ioctl for >>> divice" is already set at the very first line of php_execute_script >>> (probably even earlier) >>> looks like there's some uncaught error during initialization of php >> >> Do you have a strace log? > > I will try to make one (we use dtrace here) > > > > -- > Alexey Zakhlestin > http://blog.milkfarmsoft.com/ > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/