Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
>
php-5.3.0
> php-5.3.0-fix-rpmlint-errors.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-5.3.0-fix-rpmlint-errors.patch of Package php-5.3.0
Index: ext/intl/locale/locale_methods.c =================================================================== --- ext/intl/locale/locale_methods.c.orig 2008-08-03 13:33:45.000000000 +0200 +++ ext/intl/locale/locale_methods.c 2009-08-16 19:43:11.000000000 +0200 @@ -264,7 +264,7 @@ static char* get_icu_value_internal( cha UErrorCode status = U_ZERO_ERROR; - if( tag_name != LOC_CANONICALIZE_TAG ){ + if( strcmp(tag_name,LOC_CANONICALIZE_TAG) != 0 ){ /* Handle grandfathered languages */ grOffset = findOffset( LOC_GRANDFATHERED , loc_name ); if( grOffset >= 0 ){ @@ -501,7 +501,7 @@ static void get_icu_disp_value_src_php( loc_name = INTL_G(default_locale); } - if( tag_name != DISP_NAME ){ + if( strcmp(tag_name,DISP_NAME) != 0 ){ /* Handle grandfathered languages */ grOffset = findOffset( LOC_GRANDFATHERED , loc_name ); if( grOffset >= 0 ){ @@ -1062,7 +1062,7 @@ static int add_array_entry(char* loc_nam add_assoc_string( hash_arr, cur_key_name , token , TRUE ); } - if( key_name == LOC_PRIVATE_TAG ){ + if( strcmp(key_name,LOC_PRIVATE_TAG) == 0 ){ } } } else {