cvs: TSRM / tsrm_virtual_cwd.c
| From: | Rasmus Lerdorf | Date: | Sun, 27 Feb 2005 18:45:07 +0000 |
| Subject: | cvs: TSRM / tsrm_virtual_cwd.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3442@lists.php.net to get a copy of this message | ||
rasmus Sun Feb 27 13:45:07 2005 EDT
Modified files:
/TSRM tsrm_virtual_cwd.c
Log:
Add a comment to remind me to have a look at this at some point.
http://cvs.php.net/diff.php/TSRM/tsrm_virtual_cwd.c?r1=1.71&r2=1.72&ty=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.71 TSRM/tsrm_virtual_cwd.c:1.72
--- TSRM/tsrm_virtual_cwd.c:1.71 Mon Feb 21 04:56:28 2005
+++ TSRM/tsrm_virtual_cwd.c Sun Feb 27 13:45:07 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tsrm_virtual_cwd.c,v 1.71 2005/02/21 09:56:28 hyanantha Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.72 2005/02/27 18:45:07 rasmus Exp $ */
#include <sys/types.h>
#include <sys/stat.h>
@@ -420,7 +420,7 @@
* but *does* have execute permissions */
if (IS_ABSOLUTE_PATH(path, path_length) || (state->cwd_length < 1)) {
if (use_realpath) {
- if (realpath(path, resolved_path)) {
+ if (realpath(path, resolved_path)) { /* Note: Not threadsafe on older *BSD's */
path = resolved_path;
path_length = strlen(path);
} else {