]> git.pld-linux.org Git - packages/php.git/commitdiff
- patch stolen from rawhide:
authorkloczek <kloczek@pld-linux.org>
Thu, 15 Nov 2001 01:00:14 +0000 (01:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  patch from pzb at scyld.com to fix the ZVAL_TRUE and ZVAL_FALSE macros.

Changed files:
    php-ZVAL.patch -> 1.1

php-ZVAL.patch [new file with mode: 0644]

diff --git a/php-ZVAL.patch b/php-ZVAL.patch
new file mode 100644 (file)
index 0000000..8a4a331
--- /dev/null
@@ -0,0 +1,14 @@
+diff -u -r1.87 zend_API.h
+--- php-4.0.6.orig/Zend/zend_API.h     2001/04/19 17:51:23
++++ php-4.0.6/Zend/zend_API.h  2001/08/24 13:18:51
+@@ -268,8 +268,8 @@
+               (z)->type = IS_STRING;              \
+       }
+-#define ZVAL_FALSE  { (z)->value.lval = 0;  (z)->type = IS_BOOL; }
+-#define ZVAL_TRUE   { (z)->value.lval = 1;  (z)->type = IS_BOOL; }
++#define ZVAL_FALSE(z)  { (z)->value.lval = 0;  (z)->type = IS_BOOL; }
++#define ZVAL_TRUE(z)   { (z)->value.lval = 1;  (z)->type = IS_BOOL; }
+ #define RETVAL_RESOURCE(l) {                  \
+               return_value->type = IS_RESOURCE;\
This page took 0.041051 seconds and 4 git commands to generate.