]> granicus.if.org Git - php/commitdiff
- use php_sys_sat
authorPierre Joye <pajoye@php.net>
Mon, 13 Sep 2010 11:17:40 +0000 (11:17 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 13 Sep 2010 11:17:40 +0000 (11:17 +0000)
win32/glob.c

index d58d6ad09c9fce5f443191c381a2813bd5bc7808..a197f3bbee99720521e9e5098abd7f35364ab33a 100644 (file)
@@ -873,7 +873,7 @@ g_stat(fn, sb, pglob)
                return(-1);
        if (pglob->gl_flags & GLOB_ALTDIRFUNC)
                return((*pglob->gl_stat)(buf, sb));
-       return(stat(buf, sb));
+       return(php_sys_stat(buf, sb));
 }
 
 static Char *