Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14225 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55514 invoked by uid 1010); 29 Dec 2004 00:54:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55186 invoked from network); 29 Dec 2004 00:54:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Dec 2004 00:54:54 -0000 X-Host-Fingerprint: 66.198.51.121 lerdorf.com Linux 2.4/2.6 Received: from ([66.198.51.121:33299] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity HEAD (r3992M)) with SMTP id 7A/86-00168-95002D14 for ; Tue, 28 Dec 2004 19:54:49 -0500 Received: from [192.168.2.101] (CPE00121729dd39-CM0011aec551ea.cpe.net.cable.rogers.com [69.197.45.45]) (authenticated bits=0) by colo.lerdorf.com (8.13.2/8.13.2/Debian-1) with ESMTP id iBT0sgT3015663 for ; Tue, 28 Dec 2004 16:54:43 -0800 Message-ID: <41D20052.7000704@lerdorf.com> Date: Tue, 28 Dec 2004 19:54:42 -0500 User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: stat cache status? From: rasmus@lerdorf.com (Rasmus Lerdorf) 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