Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39756 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36984 invoked from network); 8 Aug 2008 07:11:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2008 07:11:42 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.134.188 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.134.188 mu-out-0910.google.com Received: from [209.85.134.188] ([209.85.134.188:50399] helo=mu-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/71-27429-6A1FB984 for ; Fri, 08 Aug 2008 03:11:39 -0400 Received: by mu-out-0910.google.com with SMTP id i2so709193mue.3 for ; Fri, 08 Aug 2008 00:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=L4TvD/bh0K7doCeYZxD1Zbf4xM6lAha8dDs02tMya+8=; b=XkdGeNroWXgpwfSOl9ZiWytlidKHxXcRte45pQ0DfH9czscoZCP9ph8nEiGWXFMmYh kzlaEJ0SZvuY3ha8B1XSmGPsNdr2AYT2AsHHkXnQQtdPefWXTEmS97VBm+iMdpXGPwXu m/TIksTeFSejstbj4FO3gOvomIpfzNG0H5Dzc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Ogwk2har+5D5X9ExvpFPT/lXEgCVJQLka+otVWH2cELOq3j3qmrw/s9uWwqlPYLLfS hGfDTEF8oppd9ODrO+WKulCpDnEskSNZ/rRJ//NgT+o7bnb3oI1bLhOgxA0nsZGZRJKa qhpQzSF7eNOaGEz+iRl8FUIc1XFnXM6wpsAdE= Received: by 10.103.246.17 with SMTP id y17mr2822421mur.55.1218179490573; Fri, 08 Aug 2008 00:11:30 -0700 (PDT) Received: by 10.103.248.20 with HTTP; Fri, 8 Aug 2008 00:11:30 -0700 (PDT) Message-ID: <7f3ed2c30808080011l3c62d416k7fd9b4dd455df99e@mail.gmail.com> Date: Fri, 8 Aug 2008 09:11:30 +0200 To: "Arnaud Le Blanc" Cc: internals@lists.php.net, "Rasmus Lerdorf" , "Felipe Pena" , "Christian Stocker" , "Dmitry Stogov" In-Reply-To: <200808072237.01841.arnaud.lb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4899C4B4.3060902@liip.ch> <1218138548.5346.3.camel@felipe> <489B5285.1070000@lerdorf.com> <200808072237.01841.arnaud.lb@gmail.com> Subject: Re: [PHP-DEV] include bug in 5.3 From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Thu, Aug 7, 2008 at 22:37, Arnaud Le Blanc wrote: > virtual_file_ex() assumes that realpath() returns NULL when the file does not > exists. But BSD's realpath() will not return NULL if all > components *but the last* exist. So realpath(/foo/bar) will return /foo/bar > even if bar does not exists. And that behavior is intended, but is sadly overwritten in ZTS :( -Hannes