]> granicus.if.org Git - php/commitdiff
ZTS fix.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 16 Dec 2003 17:23:27 +0000 (17:23 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 16 Dec 2003 17:23:27 +0000 (17:23 +0000)
ext/gd/libgd/gdft.c

index 0875850b1130c098f7acdda31d0249094377e7f7..783bb1ffdacd5cddf13948330fe482904964e127 100644 (file)
@@ -395,6 +395,7 @@ static void *fontFetch (char **error, void *key)
                }
                for (dir = strtok (path, PATHSEPARATOR); dir; dir = strtok (0, PATHSEPARATOR)) {
                        if (!strcmp(dir, ".")) {
+                               TSRMLS_FETCH();
 #if HAVE_GETCWD
                                dir = VCWD_GETCWD(cur_dir, MAXPATHLEN);
 #elif HAVE_GETWD