Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
>
php-5.2.16
> suhosin-0.9.24-return-non-void.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File suhosin-0.9.24-return-non-void.patch of Package php-5.2.16 (Revision 2)
Currently displaying revision
2
,
show latest
Index: execute.c =================================================================== --- execute.c.orig 2008-05-10 18:01:22.000000000 +0200 +++ execute.c 2008-06-10 09:03:38.000000000 +0200 @@ -1042,7 +1042,7 @@ static int ih_function_exists(IH_HANDLER int func_name_len; if (ZEND_NUM_ARGS()!=1 || zend_get_parameters_ex(1, &function_name)==FAILURE) { - ZEND_WRONG_PARAM_COUNT(); + ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(1); } convert_to_string_ex(function_name); func_name_len = Z_STRLEN_PP(function_name);