Am 10.09.2008 um 10:52 schrieb Tullio Andreatta ML:
fstat on a "open-ed fd" can't stat a symbolic link, since open("symlink") returns a file descriptor of the target file, or -1 if it's a dangling link ...


Yes, that's right. So Arnaud's patch at http://arnaud.lb.s3.amazonaws.com/45928.patch looks fine to me.
Someone with karma should commit this...

One more thought: Maybe the same patch should also be applied to function zend_stream_stdio_fsizer() in the same file?

- Chris


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

Reply via email to