Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > d27673e6001a0f733a6f96b690c748b4 > files > 5

php4-4.4.6-3mdv2007.1.src.rpm

--- php-4.3.0/Zend/zend.h.orig	2002-11-17 09:32:43.000000000 -0400
+++ php-4.3.0/Zend/zend.h	2003-01-04 04:17:09.000000000 -0400
@@ -466,7 +466,7 @@
 	(z)->refcount = 1;		\
 	(z)->is_ref = 0;	
 
-#define INIT_ZVAL(z) z = zval_used_for_init;
+#define INIT_ZVAL(z) memcpy(&z, &zval_used_for_init, sizeof(zval_used_for_init))
 
 #define ALLOC_INIT_ZVAL(zp)						\
 	ALLOC_ZVAL(zp);		\