Re: Opinion needed (bug #45928)
| From: | Christian Schneider | Date: | Wed, 10 Sep 2008 09:25:40 +0000 |
| Subject: | Re: Opinion needed (bug #45928) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40430@lists.php.net to get a copy of this message | ||
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