cvs: ZendEngine2 / zend_constants.h zend_operators.h

From: Date: Thu, 04 Mar 2004 11:02:05 +0000
Subject: cvs: ZendEngine2 / zend_constants.h zend_operators.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2443@lists.php.net to get a copy of this message
derick Thu Mar 4 06:02:05 2004 EDT Modified files: /ZendEngine2 zend_constants.h zend_operators.h Log: - Fixed a 64bit issue (for zend_builtin_functions.c, module_number is an int). - Change the MAX_LENGTH_OF_LONG constant to 20, as LONG_MAX is 20 characters. (Patches by Ard Biesheuven) http://cvs.php.net/diff.php/ZendEngine2/zend_constants.h?r1=1.29&r2=1.30&ty=u Index: ZendEngine2/zend_constants.h diff -u ZendEngine2/zend_constants.h:1.29 ZendEngine2/zend_constants.h:1.30 --- ZendEngine2/zend_constants.h:1.29 Thu Jan 22 22:28:59 2004 +++ ZendEngine2/zend_constants.h Thu Mar 4 06:02:05 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_constants.h,v 1.29 2004/01/23 03:28:59 sniper Exp $ */ +/* $Id: zend_constants.h,v 1.30 2004/03/04 11:02:05 derick Exp $ */ #ifndef ZEND_CONSTANTS_H #define ZEND_CONSTANTS_H @@ -27,7 +27,7 @@ #define CONST_CS (1<<0) /* Case Sensitive */ #define CONST_PERSISTENT (1<<1) /* Persistent */ -#define PHP_USER_CONSTANT LONG_MAX /* a constant defined in user space */ +#define PHP_USER_CONSTANT INT_MAX /* a constant defined in user space */ typedef struct _zend_constant { zval value; http://cvs.php.net/diff.php/ZendEngine2/zend_operators.h?r1=1.86&r2=1.87&ty=u Index: ZendEngine2/zend_operators.h diff -u ZendEngine2/zend_operators.h:1.86 ZendEngine2/zend_operators.h:1.87 --- ZendEngine2/zend_operators.h:1.86 Fri Feb 20 03:03:27 2004 +++ ZendEngine2/zend_operators.h Thu Mar 4 06:02:05 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.h,v 1.86 2004/02/20 08:03:27 hholzgra Exp $ */ +/* $Id: zend_operators.h,v 1.87 2004/03/04 11:02:05 derick Exp $ */ #ifndef ZEND_OPERATORS_H #define ZEND_OPERATORS_H @@ -34,7 +34,7 @@ #include "ext/bcmath/libbcmath/src/bcmath.h" #endif -#define MAX_LENGTH_OF_LONG 18 +#define MAX_LENGTH_OF_LONG 20 #define MAX_LENGTH_OF_DOUBLE 32 BEGIN_EXTERN_C()

« previous php.zend-engine.cvs (#2443) next »