Sophie

Sophie

distrib > Mandriva > cs4.0 > i586 > by-pkgid > 665b53d51b37ef4d3a9c620ff5a368c6 > files > 8

php4-4.4.4-1mlcs4.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);		\