stat cache status?
| From: | Rasmus Lerdorf | Date: | Wed, 29 Dec 2004 00:54:42 +0000 |
| Subject: | stat cache status? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14225@lists.php.net to get a copy of this message | ||
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