Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
>
php-5.2.17
> php-5.2.14-fix-OnUpdateLong.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-5.2.14-fix-OnUpdateLong.patch of Package php-5.2.17 (Revision 19)
Currently displaying revision
19
,
show latest
Index: php-5.2.14/Zend/zend_ini.c =================================================================== --- php-5.2.14.orig/Zend/zend_ini.c +++ php-5.2.14/Zend/zend_ini.c @@ -565,7 +565,7 @@ ZEND_API ZEND_INI_MH(OnUpdateLong) /* {{ p = (long *) (base+(size_t) mh_arg1); - *p = zend_atoi(new_value, new_value_length); + *p = zend_atol(new_value, new_value_length); return SUCCESS; } /* }}} */ @@ -581,7 +581,7 @@ ZEND_API ZEND_INI_MH(OnUpdateLongGEZero) base = (char *) ts_resource(*((int *) mh_arg2)); #endif - tmp = zend_atoi(new_value, new_value_length); + tmp = zend_atol(new_value, new_value_length); if (tmp < 0) { return FAILURE; }