cvs: TSRM / tsrm_virtual_cwd.c
| From: | Dmitry Stogov | Date: | Fri, 10 Nov 2006 16:59:34 +0000 |
| Subject: | cvs: TSRM / tsrm_virtual_cwd.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5393@lists.php.net to get a copy of this message | ||
dmitry Fri Nov 10 16:59:34 2006 UTC
Modified files:
/TSRM tsrm_virtual_cwd.c
Log:
Revert wrong path
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.92&r2=1.93&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.92 TSRM/tsrm_virtual_cwd.c:1.93
--- TSRM/tsrm_virtual_cwd.c:1.92 Fri Nov 10 15:04:19 2006
+++ TSRM/tsrm_virtual_cwd.c Fri Nov 10 16:59:34 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.92 2006/11/10 15:04:19 dmitry Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.93 2006/11/10 16:59:34 dmitry Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -512,7 +512,7 @@
char resolved_path[MAXPATHLEN];
if (!realpath(path, resolved_path)) { /* Note: Not threadsafe on older *BSD's */
- goto no_realpath;
+ return 1;
}
CWD_STATE_COPY(&old_state, state);