Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14226 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41062 invoked by uid 1010); 29 Dec 2004 01:17:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40994 invoked from network); 29 Dec 2004 01:17:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Dec 2004 01:17:19 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.4/2.6 Received: from ([80.74.107.235:44493] helo=mail.zend.com) by pb1.pair.com (ecelerity HEAD (r3992M)) with SMTP id CF/48-00168-E9502D14 for ; Tue, 28 Dec 2004 20:17:18 -0500 Received: (qmail 21765 invoked from network); 29 Dec 2004 01:17:14 -0000 Received: from localhost (HELO andi-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 29 Dec 2004 01:17:14 -0000 Message-ID: <5.1.0.14.2.20041228171655.02f004a0@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 28 Dec 2004 17:17:08 -0800 To: Rasmus Lerdorf ,internals@lists.php.net In-Reply-To: <41D20052.7000704@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] stat cache status? From: andi@zend.com (Andi Gutmans) References: <41D20052.7000704@lerdorf.com> Defined in tsrm_virtual_cwd.h. It's been active for a while. Andi At 07:54 PM 12/28/2004 -0500, Rasmus Lerdorf wrote: >In TSRM/tsrm_virtual_cwd.c around line 594 we have: > >#ifdef REALPATH_CACHE > if (ret == 0 && use_realpath && CWDG(realpath_cache_size_limit)) { > realpath_cache_add(orig_path, orig_path_len, state->cwd, > state->cwd_length, t TSRMLS_CC); > } >#endif > >As far as I can tell ret can't be anything except 0 at that point in the >code. Did something get shuffled around? What is that ret check for? > >-Rasmus > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php