From 215b77adc2a06f226e88595ae5003f5ca1c3d8e2 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Tue, 8 Dec 2009 01:57:16 +0000 Subject: [PATCH] ouch, that ZTS --- ext/standard/filestat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.50.1