Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6907 invoked from network); 10 Sep 2008 09:26:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2008 09:26:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.51 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.51 darkcity.gna.ch Linux 2.6 Received: from [195.226.6.51] ([195.226.6.51:40128] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/91-30769-E9297C84 for ; Wed, 10 Sep 2008 05:25:51 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id A8D3A93A1F1; Wed, 10 Sep 2008 11:25:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at gna.ch Received: from mail.gna.ch ([127.0.0.1]) by localhost (gna.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GSc+UdzLs-2k; Wed, 10 Sep 2008 11:25:42 +0200 (CEST) Received: from [192.168.1.42] (77-57-13-46.dclient.hispeed.ch [77.57.13.46]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id 14AD393A1BE; Wed, 10 Sep 2008 11:25:41 +0200 (CEST) Cc: PHP Developers Mailing List Message-ID: To: Tullio Andreatta ML In-Reply-To: <48C78ACE.6010808@troppoavanti.it> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Wed, 10 Sep 2008 11:25:40 +0200 References: <200809091651.55770.arnaud.lb@gmail.com> <48C697DA.2080003@cschneid.com> <48C78ACE.6010808@troppoavanti.it> X-Mailer: Apple Mail (2.928.1) Subject: Re: [PHP-DEV] Opinion needed (bug #45928) From: cschneid@cschneid.com (Christian Schneider) 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