From: Stanislav Malyshev Date: Tue, 8 Dec 2009 01:57:16 +0000 (+0000) Subject: ouch, that ZTS X-Git-Tag: php-5.3.2RC1~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9044795da419e0002ac9ab5a3ce8f96c6de0323;p=php ouch, that ZTS --- diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index c0a0e0f07c..c3be62bddd 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -1114,14 +1114,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;