Re: cvs: php-src(PHP_4_3) /main main.c

From: Date: Wed, 27 Apr 2005 20:18:44 +0000
Subject: Re: cvs: php-src(PHP_4_3) /main main.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31629@lists.php.net to get a copy of this message
?? When was this added? If anything change it to something like PHP_INT_MAX or MATH_INT_MAX Please revert this from HEAD and PHP_4_3 or fix it. Thanks. At 07:27 AM 4/22/2005 +0000, Andrey Hristov wrote:
andrey          Fri Apr 22 03:27:46 2005 EDT
  Modified files:              (Branch: PHP_4_3)
    /php-src/main       main.c
Log: MFH introduce INT_MAX and INT_SIZE #would be wonderful if the doc team takes care of that #defined since 4.3.12, missing in 5.0.0-5.0.4, available in 5.0.5+ http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.512.2.60&r2=1.512.2.61&ty=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.512.2.60 php-src/main/main.c:1.512.2.61
--- php-src/main/main.c:1.512.2.60      Tue Mar  8 16:45:51 2005
+++ php-src/main/main.c Fri Apr 22 03:27:45 2005 @@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
*/ -/* $Id: main.c,v 1.512.2.60 2005/03/08 21:45:51 sniper Exp $ */ +/* $Id: main.c,v 1.512.2.61 2005/04/22 07:27:45 andrey Exp $ */ /* {{{ includes */ @@ -1206,6 +1206,8 @@
        REGISTER_MAIN_STRINGL_CONSTANT("PHP_CONFIG_FILE_SCAN_DIR", PHP_CONFIG_FILE_SCAN_DIR, sizeof(PHP_CONFIG_FILE_SCAN_DIR)-1, CONST_PERSISTENT | CONST_CS);
        REGISTER_MAIN_STRINGL_CONSTANT("PHP_SHLIB_SUFFIX", PHP_SHLIB_SUFFIX, sizeof(PHP_SHLIB_SUFFIX)-1, CONST_PERSISTENT | CONST_CS);
        REGISTER_MAIN_STRINGL_CONSTANT("PHP_EOL", PHP_EOL, sizeof(PHP_EOL)-1, CONST_PERSISTENT | CONST_CS);
+       REGISTER_MAIN_LONG_CONSTANT("INT_MAX", LONG_MAX, CONST_PERSISTENT | CONST_CS);
+       REGISTER_MAIN_LONG_CONSTANT("INT_SIZE", sizeof(long), CONST_PERSISTENT | CONST_CS);
        php_output_register_constants(TSRMLS_C);
        php_rfc1867_register_constants(TSRMLS_C);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.cvs (#31629) next »