cvs: php4(PHP_4_2_0) /sapi/apache mod_php4.c

From: Date: Sat, 17 Aug 2002 15:50:20 +0000
Subject: cvs: php4(PHP_4_2_0) /sapi/apache mod_php4.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13436@lists.php.net to get a copy of this message
zeev Sat Aug 17 11:50:20 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/sapi/apache mod_php4.c Log: MFH Apache threading fix Index: php4/sapi/apache/mod_php4.c diff -u php4/sapi/apache/mod_php4.c:1.127.2.2 php4/sapi/apache/mod_php4.c:1.127.2.3 --- php4/sapi/apache/mod_php4.c:1.127.2.2 Tue Apr 23 21:53:54 2002 +++ php4/sapi/apache/mod_php4.c Sat Aug 17 11:50:20 2002 @@ -17,7 +17,7 @@ | PHP 4.0 patches by Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: mod_php4.c,v 1.127.2.2 2002/04/24 01:53:54 sniper Exp $ */ +/* $Id: mod_php4.c,v 1.127.2.3 2002/08/17 15:50:20 zeev Exp $ */ #define NO_REGEX_EXTRA_H #ifdef WIN32 @@ -666,7 +666,7 @@ HashTable *per_dir_info; per_dir_info = (HashTable *) malloc(sizeof(HashTable)); - zend_hash_init(per_dir_info, 5, NULL, (void (*)(void *)) destroy_per_dir_entry, 1); + zend_hash_init_ex(per_dir_info, 5, NULL, (void (*)(void *)) destroy_per_dir_entry, 1, 0); register_cleanup(p, (void *) per_dir_info, (void (*)(void *)) php_destroy_per_dir_info, (void (*)(void *)) zend_hash_destroy); return per_dir_info;

« previous php.cvs (#13436) next »