From: Ilia Alshanetsky Date: Tue, 16 Dec 2003 17:23:27 +0000 (+0000) Subject: ZTS fix. X-Git-Tag: php-4.3.5RC1~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1018001888f68a4f196f2a8a9c2219db95ddc519;p=php ZTS fix. --- diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c index 0875850b11..783bb1ffda 100644 --- a/ext/gd/libgd/gdft.c +++ b/ext/gd/libgd/gdft.c @@ -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