stas Tue, 08 Dec 2009 01:57:16 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291850
Log:
ouch, that ZTS
Changed paths:
U php/php-src/branches/PHP_5_3/ext/standard/filestat.c
U php/php-src/trunk/ext/standard/filestat.c
Modified: php/php-src/branches/PHP_5_3/ext/standard/filestat.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/filestat.c 2009-12-08
01:52:57 UTC (rev 291849)
+++ php/php-src/branches/PHP_5_3/ext/standard/filestat.c 2009-12-08
01:57:16 UTC (rev 291850)
@@ -1114,14 +1114,14 @@
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;
Modified: php/php-src/trunk/ext/standard/filestat.c
===================================================================
--- php/php-src/trunk/ext/standard/filestat.c 2009-12-08 01:52:57 UTC (rev
291849)
+++ php/php-src/trunk/ext/standard/filestat.c 2009-12-08 01:57:16 UTC (rev
291850)
@@ -1211,14 +1211,14 @@
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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php