helly Tue Aug 24 17:41:02 2004 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/pcre php_pcre.c Log: TSRM fix http://cvs.php.net/diff.php/php-src/ext/pcre/php_pcre.c?r1=1.157.2.1&r2=1.157.2.2&ty=u Index: php-src/ext/pcre/php_pcre.c diff -u php-src/ext/pcre/php_pcre.c:1.157.2.1 php-src/ext/pcre/php_pcre.c:1.157.2.2 --- php-src/ext/pcre/php_pcre.c:1.157.2.1 Tue Aug 24 17:02:52 2004 +++ php-src/ext/pcre/php_pcre.c Tue Aug 24 17:41:02 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.157.2.1 2004/08/24 21:02:52 andrei Exp $ */ +/* $Id: php_pcre.c,v 1.157.2.2 2004/08/24 21:41:02 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -111,7 +111,7 @@ #define PCRE_CACHE_SIZE 4096 /* {{{ static pcre_clean_cache */ -static void pcre_clean_cache() +static void pcre_clean_cache(TSRMLS_D) { HashTable *ht = &PCRE_G(pcre_cache); Bucket *p = NULL; @@ -353,7 +353,7 @@ * ones). */ if (zend_hash_num_elements(&PCRE_G(pcre_cache)) == PCRE_CACHE_SIZE) { - pcre_clean_cache(); + pcre_clean_cache(TSRMLS_C); } /* Store the compiled pattern and extra info in the cache. */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php