From: Stanislav Malyshev Date: Tue, 8 Dec 2009 01:57:16 +0000 (+0000) Subject: ouch, that ZTS X-Git-Tag: php-5.4.0alpha1~191^2~2290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=215b77adc2a06f226e88595ae5003f5ca1c3d8e2;p=php ouch, that ZTS --- diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 75fb5873e9..8cfdc2d46a 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -1211,14 +1211,14 @@ PHP_FUNCTION(realpath_cache_size) if (zend_parse_parameters_none() == FAILURE) { return; } - RETURN_LONG(realpath_cache_size()); + RETURN_LONG(realpath_cache_size(TSRMLS_C)); } /* {{{ proto bool realpath_cache_get() Get current size of realpath cache */ PHP_FUNCTION(realpath_cache_get) { - realpath_cache_bucket **buckets = realpath_cache_get_buckets(), **end = buckets + realpath_cache_max_buckets(); + realpath_cache_bucket **buckets = realpath_cache_get_buckets(TSRMLS_C), **end = buckets + realpath_cache_max_buckets(TSRMLS_C); if (zend_parse_parameters_none() == FAILURE) { return;