andi            Tue Apr 24 22:53:45 2001 EDT

  Modified files:              
    /php4/ext/standard  filestat.c 
  Log:
  - Another fix
  
  
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.59 php4/ext/standard/filestat.c:1.60
--- php4/ext/standard/filestat.c:1.59   Tue Apr 24 22:43:30 2001
+++ php4/ext/standard/filestat.c        Tue Apr 24 22:53:45 2001
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: filestat.c,v 1.59 2001/04/25 05:43:30 andi Exp $ */
+/* $Id: filestat.c,v 1.60 2001/04/25 05:53:45 andi Exp $ */
 
 #include "php.h"
 #include "safe_mode.h"
@@ -488,8 +488,8 @@
                /* do lstat if the buffer is empty */
 
                if (!BG(lsb).st_mode) {
-                       if (V_LSTAT(BG(CurrentStatFile), &BG(lsb)) == -1) {
-                               php_error(E_NOTICE, "lstat failed for %s (errno=%d - 
%s)", BG(CurrentStatFile), errno, strerror(errno));
+                       if (V_LSTAT(filename, &BG(lsb)) == -1) {
+                               php_error(E_NOTICE, "lstat failed for %s (errno=%d - 
+%s)", filename, errno, strerror(errno));
                                RETURN_FALSE;
                        }
                }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to