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;
-                       }
                }
        }
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to