cvs: php4(PHP_4_3) /ext/standard filestat.c
| From: | Ilia Alshanetsky | Date: | Thu, 27 Feb 2003 20:38:23 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19248@lists.php.net to get a copy of this message | ||
iliaa Thu Feb 27 15:38:23 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard filestat.c
Log:
MFH
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.112.2.4 php4/ext/standard/filestat.c:1.112.2.5
--- php4/ext/standard/filestat.c:1.112.2.4 Thu Feb 27 11:41:44 2003
+++ php4/ext/standard/filestat.c Thu Feb 27 15:38:22 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.112.2.4 2003/02/27 16:41:44 iliaa Exp $ */
+/* $Id: filestat.c,v 1.112.2.5 2003/02/27 20:38:22 iliaa Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -611,9 +611,10 @@
}
efree(BG(CurrentStatFile));
BG(CurrentStatFile) = NULL;
- if (!IS_LINK_OPERATION(type)) { /* Don't require success for link operation */
+#if HAVE_SYMLINK
+ if (!IS_LINK_OPERATION(type)) /* Don't require success for link operation */
+#endif
RETURN_FALSE;
- }
}
}