Re: mac os x, test failure

From: Date: Mon, 30 Jun 2008 08:24:03 +0000
Subject: Re: mac os x, test failure
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-38686@lists.php.net to get a copy of this message
On Mon, Jun 30, 2008 at 12:10 PM, Antony Dovgal <tony@daylessday.org> wrote: > On 28.06.2008 20:17, Alexey Zakhlestin wrote: >> >> I noticed a failure of ext/standard/tests/strings/006.phpt on my machine. >> this is 5.3.0, debug-zts, mac os x 10.5.3, intel, 32-bit build >> >> This test, in my case, returns "Inappropriate ioctl for device" error >> instead of "File name too long". Looks, like errno is already set to >> 25 (which corresponds to my error) in php_execute_script(), which >> leads me to the conclusion that the problem is deeper than >> highlight_file() > > 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 -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

« previous php.internals (#38686) next »