]> granicus.if.org Git - php/commitdiff
Fix ZTS build
authorScott MacVicar <scottmac@php.net>
Tue, 12 Jun 2007 13:42:04 +0000 (13:42 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 12 Jun 2007 13:42:04 +0000 (13:42 +0000)
ext/standard/dir.c

index c8f77e49a29da077e0034f7c22f09d83ac45175a..a26e0c644040678d0c8e5284cf4ec47aabfa0732 100644 (file)
@@ -387,6 +387,7 @@ PHP_FUNCTION(glob)
 {
        int cwd_skip = 0;
 #ifdef ZTS
+       char cwd[MAXPATHLEN];
        char work_pattern[MAXPATHLEN];
        char *result;
 #endif