]> granicus.if.org Git - php/commitdiff
- More ZTS fixes
authorDerick Rethans <derick@php.net>
Wed, 6 Mar 2002 11:26:05 +0000 (11:26 +0000)
committerDerick Rethans <derick@php.net>
Wed, 6 Mar 2002 11:26:05 +0000 (11:26 +0000)
ext/posix/posix.c

index 6c56c7c154145a08257b10bdc1ecf733d6692dbc..eb5391c9c2544a3a35b587221f99354faf7a07a1 100644 (file)
@@ -852,7 +852,7 @@ PHP_FUNCTION(posix_getpwuid)
 
 /* {{{ posix_addlimit
  */
-static int posix_addlimit(int limit, char *name, zval *return_value) {
+static int posix_addlimit(int limit, char *name, zval *return_value TSRMLS_DC) {
        int result;
        struct rlimit rl;
        char hard[80];
@@ -956,7 +956,7 @@ PHP_FUNCTION(posix_getrlimit)
        }
 
        for (l=limits; l->name; l++) {
-               if (posix_addlimit(l->limit, l->name, return_value) == FAILURE)
+               if (posix_addlimit(l->limit, l->name, return_value TSRMLS_CC) == FAILURE)
                        RETURN_FALSE;
        }
 }