For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > December 2004 > cvs: TSRM / tsrm_virtual_cwd.c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: TSRM / tsrm_virtual_cwd.c
Stefan Esser

2004-12-02, 3:55 am

sesser Wed Dec 1 19:44:07 2004 EDT

Modified files:
/TSRM tsrm_virtual_cwd.c
Log:
Partly reverted because of problems with some realpath() implementations



http://cvs.php.net/diff.php/TSRM/ts...66&r2=1.67&ty=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.66 TSRM/tsrm_virtual_cwd.c:1.67
--- TSRM/tsrm_virtual_cwd.c:1.66 Wed Dec 1 17:56:05 2004
+++ TSRM/tsrm_virtual_cwd.c Wed Dec 1 19:44:07 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: tsrm_virtual_cwd.c,v 1.66 2004/12/01 22:56:05 sesser Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.67 2004/12/02 00:44:07 sesser Exp $ */

#include <sys/types.h>
#include <sys/stat.h>
@@ -424,7 +424,8 @@
path = resolved_path;
path_length = strlen(path);
} else {
- return 1;
+ /* disable for now
+ return 1; */
}
}
} else { /* Concat current directory with relative path and then run realpath() on it */
@@ -450,8 +451,9 @@
path = resolved_path;
path_length = strlen(path);
} else {
+ /* disable for now
free(tmp);
- return 1;
+ return 1; */
}
}
free(tmp);
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com