cvs: ZendEngine2 / zend.h
| From: | Ilia Alshanetsky | Date: | Thu, 11 Dec 2003 23:50:13 +0000 |
| Subject: | cvs: ZendEngine2 / zend.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2101@lists.php.net to get a copy of this message | ||
iliaa Thu Dec 11 18:50:13 2003 EDT
Modified files:
/ZendEngine2 zend.h
Log:
Fixed extra byte allocation for TRUE/FALSE/ZEND_THREAD_SAFE/NULL constants.
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.229 ZendEngine2/zend.h:1.230
--- ZendEngine2/zend.h:1.229 Wed Oct 22 15:59:58 2003
+++ ZendEngine2/zend.h Thu Dec 11 18:50:13 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.229 2003/10/22 19:59:58 helly Exp $ */
+/* $Id: zend.h,v 1.230 2003/12/11 23:50:13 iliaa Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -389,7 +389,7 @@
#define MAX(a, b) (((a)>(b))?(a):(b))
#define MIN(a, b) (((a)<(b))?(a):(b))
#define ZEND_STRL(str) (str), (sizeof(str)-1)
-#define ZEND_STRS(str) (str), (sizeof(str))
+#define ZEND_STRS(str) (str), (sizeof(str)-1)
#define ZEND_NORMALIZE_BOOL(n) \
((n) ? (((n)>0) ? 1 : -1) : 0)
#define ZEND_TRUTH(x) ((x) ? 1 : 0)