Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38989 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42332 invoked from network); 15 Jul 2008 20:03:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jul 2008 20:03:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:58856] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/40-11609-4A20D784 for ; Tue, 15 Jul 2008 16:03:49 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m6FK3gXA015407; Tue, 15 Jul 2008 22:03:42 +0200 Date: Tue, 15 Jul 2008 22:03:42 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Amir Hardon cc: Rasmus Lerdorf , PHP Internals List In-Reply-To: <1216151055.17692.9.camel@amirh> Message-ID: References: <1216133436.6875.35.camel@amirh> <487CEF26.7030802@lerdorf.com> <1216149220.16451.10.camel@amirh> <487CF99F.8090701@lerdorf.com> <1216151055.17692.9.camel@amirh> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] lstat call on each directory level From: derick@php.net (Derick Rethans) On Tue, 15 Jul 2008, Amir Hardon wrote: > About the issue with the _once, did the patch Derick offered handles > it (I haven't examined it yet). If not, I just need to make sure that > the same file isn't being referenced by two paths and I'm safe right? It does not do any real path checks, so it gives issues when you include the same file with two different paths in the include statement. Your assesment is correct and just making sure you include them the same way does the trick. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org