]> granicus.if.org Git - php/commitdiff
ouch, that ZTS
authorStanislav Malyshev <stas@php.net>
Tue, 8 Dec 2009 01:57:16 +0000 (01:57 +0000)
committerStanislav Malyshev <stas@php.net>
Tue, 8 Dec 2009 01:57:16 +0000 (01:57 +0000)
ext/standard/filestat.c

index 75fb5873e984c207c275f599a7664ce2e33a4886..8cfdc2d46a0e0a6c5215569fa511ad5c5ea72677 100644 (file)
@@ -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;