Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
>
php-5.5.4
> php5-mbstring-missing-return.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-mbstring-missing-return.patch of Package php-5.5.4
Index: php-5.5.2/ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c =================================================================== --- php-5.5.2.orig/ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c +++ php-5.5.2/ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c @@ -672,6 +672,8 @@ retry: CK(mbfl_filt_conv_illegal_output(c, filter)); } } + + return c; } int Index: php-5.5.2/ext/mbstring/libmbfl/filters/mbfilter_utf8.c =================================================================== --- php-5.5.2.orig/ext/mbstring/libmbfl/filters/mbfilter_utf8.c +++ php-5.5.2/ext/mbstring/libmbfl/filters/mbfilter_utf8.c @@ -93,7 +93,7 @@ const struct mbfl_convert_vtbl vtbl_wcha #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) -int mbfl_filt_put_invalid_char(int c, mbfl_convert_filter *filter) +void mbfl_filt_put_invalid_char(int c, mbfl_convert_filter *filter) { int w; w = c & MBFL_WCSGROUP_MASK;