From a9044795da419e0002ac9ab5a3ce8f96c6de0323 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 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; -- 2.50.1