SOURCES: php4-mcache-zts.patch (NEW) - zts fix (typo really)

glen glen at pld-linux.org
Thu Oct 27 16:59:47 CEST 2005


Author: glen                         Date: Thu Oct 27 14:59:46 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- zts fix (typo really)

---- Files affected:
SOURCES:
   php4-mcache-zts.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php4-mcache-zts.patch
diff -u /dev/null SOURCES/php4-mcache-zts.patch:1.1
--- /dev/null	Thu Oct 27 16:59:46 2005
+++ SOURCES/php4-mcache-zts.patch	Thu Oct 27 16:59:41 2005
@@ -0,0 +1,11 @@
+--- ./mcache.c~	2005-10-27 17:58:10.000000000 +0300
++++ ./mcache.c	2005-10-27 17:58:12.000000000 +0300
+@@ -222,7 +222,7 @@
+   mcache_class_entry_ptr = zend_register_internal_class(&mcache_class_entry TSRMLS_CC);
+ 
+ #ifdef ZTS
+-	ts_allocate_id(&mcache_globals_id, sizeof(zend_memcache_globals), (ts_allocate_ctor) php_mcache_init_globals, NULL);
++	ts_allocate_id(&mcache_globals_id, sizeof(zend_mcache_globals), (ts_allocate_ctor) php_mcache_init_globals, NULL);
+ #else
+ 	php_mcache_init_globals(&mcache_globals TSRMLS_CC);
+ #endif
================================================================



More information about the pld-cvs-commit mailing list