Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40432 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17327 invoked from network); 10 Sep 2008 10:35:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2008 10:35:21 -0000 Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.82.229 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 66.249.82.229 wx-out-0506.google.com Received: from [66.249.82.229] ([66.249.82.229:54090] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/83-30769-8E2A7C84 for ; Wed, 10 Sep 2008 06:35:20 -0400 Received: by wx-out-0506.google.com with SMTP id s12so976090wxc.26 for ; Wed, 10 Sep 2008 03:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=V69TZS6xmzjGwySXx5hOTf1O2gwOpRlULKpsFNhn88E=; b=e5/i9c0oG2PMzEuxZQodJ5KOB88CcRYHaUmTb5dv9cwY7EDXitzorWscJgXZA3ANU8 zgoW+x7PIYS2F7KmopbOv7gs1nAfmahW6qL2JhQHShimzoEcZxvgJ3e2ZIp2nnUdx3aA 91j4lNlLCvMFyt7llq+UOleZZzL7k7yIXymJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=NRcfvh6FolXBtNWwwVQS3TmMKA6T3A6saZZEj9jvBChVDwxFc1G9vR8OUcN73LOQ4U 3CYtPjKH1pd1YjQuN2VNbYccgSwA42gRIfvbMjjZ5PjO7Ryh1kb/G71kZWezy2Gdm4gE bmisVFIvuzuwuM251/VgEQGPQoRSF8+Q6DoLQ= Received: by 10.103.229.12 with SMTP id g12mr687669mur.6.1221042917010; Wed, 10 Sep 2008 03:35:17 -0700 (PDT) Received: from 207-177-41-213.getmyip.com ( [213.41.177.207]) by mx.google.com with ESMTPS id e10sm11553482muf.14.2008.09.10.03.35.14 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Sep 2008 03:35:15 -0700 (PDT) To: internals@lists.php.net Date: Wed, 10 Sep 2008 12:35:02 +0200 User-Agent: KMail/1.10.0 (Linux/2.6.26-1-amd64; KDE/4.1.0; x86_64; ; ) Cc: Christian Schneider , Tullio Andreatta ML References: <48C78ACE.6010808@troppoavanti.it> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200809101235.02866.arnaud.lb@gmail.com> Subject: Re: [PHP-DEV] Opinion needed (bug #45928) From: arnaud.lb@gmail.com (Arnaud Le Blanc) On Wednesday 10 September 2008 11:25:40 Christian Schneider wrote: > 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? Committed, applied to zend_stream_stdio_fsizer() too. > > - Chris > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > >