tony2001 Fri Oct 27 11:07:23 2006 UTC
Modified files:
/pecl/apc apc_compile.c
Log:
fix PHP4 build
http://cvs.php.net/viewvc.cgi/pecl/apc/apc_compile.c?r1=3.64&r2=3.65&diff_format=u
Index: pecl/apc/apc_compile.c
diff -u pecl/apc/apc_compile.c:3.64 pecl/apc/apc_compile.c:3.65
--- pecl/apc/apc_compile.c:3.64 Wed Oct 25 21:26:22 2006
+++ pecl/apc/apc_compile.c Fri Oct 27 11:07:23 2006
@@ -28,7 +28,7 @@
*/
-/* $Id: apc_compile.c,v 3.64 2006/10/25 21:26:22 gopalv Exp $ */
+/* $Id: apc_compile.c,v 3.65 2006/10/27 11:07:23 tony2001 Exp $ */
#include "apc_compile.h"
#include "apc_globals.h"
@@ -2175,6 +2175,7 @@
/* my_destroy_hashtable() does not play nice with refcounts */
+#ifdef ZEND_ENGINE_2
zend_hash_destroy(&src->default_static_members);
if(src->static_members != &(src->default_static_members))
{
@@ -2183,6 +2184,7 @@
}
zend_hash_destroy(&src->default_properties);
zend_hash_destroy(&src->constants_table);
+#endif
/* TODO: more cleanup */
}
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|