dmitry Sat Jan 8 08:53:47 2005 EDT
Modified files:
/TSRM tsrm_virtual_cwd.c
Log:
Unnecesary check was removed
http://cvs.php.net/diff.php/TSRM/tsrm_virtual_cwd.c?r1=1.68&r2=1.69&ty=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.68 TSRM/tsrm_virtual_cwd.c:1.69
--- TSRM/tsrm_virtual_cwd.c:1.68 Wed Dec 1 20:04:23 2004
+++ TSRM/tsrm_virtual_cwd.c Sat Jan 8 08:53:45 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.68 2004/12/02 01:04:23 sesser Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.69 2005/01/08 13:53:45 dmitry Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -591,7 +591,7 @@
free(free_path);
#ifdef REALPATH_CACHE
- if (ret == 0 && use_realpath && CWDG(realpath_cache_size_limit)) {
+ if (use_realpath && CWDG(realpath_cache_size_limit)) {
realpath_cache_add(orig_path, orig_path_len, state->cwd,
state->cwd_length, t TSRMLS_CC);
}
#endif
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|