On Mon, Jun 30, 2008 at 12:10 PM, Antony Dovgal <[EMAIL PROTECTED]> 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/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to