com php-src: bigger memory_limit should work now on 64 bit windows: Zend/zend_operators.c Zend /zend_operators.h main/php_globals.h

From: Date: Wed, 16 Oct 2013 17:48:03 +0000
Subject: com php-src: bigger memory_limit should work now on 64 bit windows: Zend/zend_operators.c Zend /zend_operators.h main/php_globals.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73674@lists.php.net to get a copy of this message
Commit: f0fdb82f83fa62d6fa8b13dbaae5acc8a099d4e2 Author: Anatol Belski <ab@php.net> Wed, 16 Oct 2013 10:48:03 -0700 Parents: 4a5fee1b369aab66e8ace489618c582ba7b1d6b1 Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f0fdb82f83fa62d6fa8b13dbaae5acc8a099d4e2 Log: bigger memory_limit should work now on 64 bit windows Changed paths: M Zend/zend_operators.c M Zend/zend_operators.h M main/php_globals.h Diff: diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index eb21512..0fd8caf 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -107,14 +107,14 @@ ZEND_API int zend_atoi(const char *str, zend_str_size_int str_len) /* {{{ */ } /* }}} */ -ZEND_API long zend_atol(const char *str, zend_str_size_int str_len) /* {{{ */ +ZEND_API zend_int_t zend_atol(const char *str, zend_str_size_int str_len) /* {{{ */ { - long retval; + zend_int_t retval; if (!str_len) { str_len = strlen(str); } - retval = strtol(str, NULL, 0); + retval = ZEND_STRTOL(str, NULL, 0); if (str_len>0) { switch (str[str_len-1]) { case 'g': diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 03fbce2..961e30e 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -377,7 +377,7 @@ ZEND_API void zend_compare_arrays(zval *result, zval *a1, zval *a2 TSRMLS_DC); ZEND_API void zend_compare_objects(zval *result, zval *o1, zval *o2 TSRMLS_DC); ZEND_API int zend_atoi(const char *str, zend_str_size_int str_len); -ZEND_API long zend_atol(const char *str, zend_str_size_int str_len); +ZEND_API zend_int_t zend_atol(const char *str, zend_str_size_int str_len); ZEND_API void zend_locale_sprintf_double(zval *op ZEND_FILE_LINE_DC); END_EXTERN_C() diff --git a/main/php_globals.h b/main/php_globals.h index fa2fe3b..41f1d41 100644 --- a/main/php_globals.h +++ b/main/php_globals.h @@ -66,7 +66,7 @@ struct _php_core_globals { char *unserialize_callback_func; long serialize_precision; - long memory_limit; + zend_int_t memory_limit; long max_input_time; zend_bool track_errors;

« previous php.cvs (#73674) next »