Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39794 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92521 invoked from network); 9 Aug 2008 11:16:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2008 11:16:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.230 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.230 rv-out-0506.google.com Received: from [209.85.198.230] ([209.85.198.230:38260] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/DB-02575-F7C7D984 for ; Sat, 09 Aug 2008 07:16:15 -0400 Received: by rv-out-0506.google.com with SMTP id g37so1417348rvb.23 for ; Sat, 09 Aug 2008 04:16:12 -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=pmu+wyDqaf4Qa6afM2C6H48C97ka8V6k3CAB1RCCWb4=; b=IkYw/EJ+Oakl4n5cuFch4OFLTdaSLNxOJtsyZpFo+OzQmeFr9BO+0rKG/5PmVecxIn OoY6b4zs6iaIZx9tf0Ax6elperFcoHzkYvagGsmdx69ji16Z330z6414t1oPW436J0tA JqrtF7Ekh748tiKdud5ER49R961MA48hhJGL4= 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=yF48IV21RRiXr65SVfcRC/j+/l5oMdTixPS3MJXDAxKpy8bzS+rD0xuI+prpAjpF2V hykBuw6IoujCs8kfrvkC0Xd6evaPWLYQ9D64KbPoMayPx5YJ06JiTOT+6BlMU+30lNfh 9XJ668Mj7Ad3RA3iWSciLq3oNrYasaWAFmI9Q= Received: by 10.141.132.8 with SMTP id j8mr2068546rvn.297.1218280572560; Sat, 09 Aug 2008 04:16:12 -0700 (PDT) Received: by 10.141.185.2 with HTTP; Sat, 9 Aug 2008 04:16:12 -0700 (PDT) Message-ID: Date: Sat, 9 Aug 2008 13:16:12 +0200 To: "Hannes Magnusson" Cc: "Dmitry Stogov" , "Arnaud Le Blanc" , internals@lists.php.net, "Rasmus Lerdorf" , "Felipe Pena" , "Christian Stocker" , "Andi Gutmans" , "Stanislav Malyshev" In-Reply-To: <7f3ed2c30808090341i2caf0a8fi10cebe58b728abe1@mail.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> <7f3ed2c30808080011l3c62d416k7fd9b4dd455df99e@mail.gmail.com> <489C6BBA.8030101@zend.com> <7f3ed2c30808090318u7c4e99can7ada79c2c064773c@mail.gmail.com> <489D71E6.7030003@zend.com> <7f3ed2c30808090341i2caf0a8fi10cebe58b728abe1@mail.gmail.com> Subject: Re: [PHP-DEV] include bug in 5.3 From: pierre.php@gmail.com ("Pierre Joye") hi all! On Sat, Aug 9, 2008 at 12:41 PM, Hannes Magnusson wrote: > On Sat, Aug 9, 2008 at 12:31, Dmitry Stogov wrote: >> Where is it documented? > > http://php.net/realpath > http://www.ipnom.com/FreeBSD-Man-Pages/realpath.3.html "On BSD systems realpath() doesn't fail if only the last path component doesn't exist, while other systems will return FALSE." This behavior has genearated enough pain in the past to be dropped. The key problem in php application is portability. I'm in favor of dropping this BSD specific thing in 5.3+. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org