cvs: php-src(PHP_4_3) /ext/pcre php_pcre.c

From: Date: Wed, 25 Aug 2004 04:42:54 +0000
Subject: cvs: php-src(PHP_4_3) /ext/pcre php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28441@lists.php.net to get a copy of this message
pollita Wed Aug 25 00:42:54 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/pcre php_pcre.c Log: MFH (r1.160) TSRM fix http://cvs.php.net/diff.php/php-src/ext/pcre/php_pcre.c?r1=1.132.2.19&r2=1.132.2.20&ty=u Index: php-src/ext/pcre/php_pcre.c diff -u php-src/ext/pcre/php_pcre.c:1.132.2.19 php-src/ext/pcre/php_pcre.c:1.132.2.20 --- php-src/ext/pcre/php_pcre.c:1.132.2.19 Tue Aug 24 16:57:32 2004 +++ php-src/ext/pcre/php_pcre.c Wed Aug 25 00:42:54 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcre.c,v 1.132.2.19 2004/08/24 20:57:32 andrei Exp $ */ +/* $Id: php_pcre.c,v 1.132.2.20 2004/08/25 04:42:54 pollita 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; @@ -342,7 +342,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. */

« previous php.cvs (#28441) next »