iliaa           Tue Dec 16 12:23:16 2003 EDT

  Modified files:              
    /php-src/ext/gd/libgd       gdft.c 
  Log:
  ZTS fix.
  
  
Index: php-src/ext/gd/libgd/gdft.c
diff -u php-src/ext/gd/libgd/gdft.c:1.26 php-src/ext/gd/libgd/gdft.c:1.27
--- php-src/ext/gd/libgd/gdft.c:1.26    Tue Dec 16 01:29:01 2003
+++ php-src/ext/gd/libgd/gdft.c Tue Dec 16 12:23:15 2003
@@ -349,7 +349,7 @@
   return (strcmp (a->fontlist, b->fontlist) == 0);
 }
 
-static void *fontFetch (char **error, void *key TSRMLS_DC)
+static void *fontFetch (char **error, void *key)
 {
        font_t *a;
        fontkey_t *b = (fontkey_t *) key;
@@ -394,6 +394,7 @@
                }
                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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to