]> granicus.if.org Git - php/commitdiff
only no_NO.ISO-8859-1 have to be ignored
authorRemi Collet <remi@php.net>
Wed, 1 Oct 2014 08:14:14 +0000 (10:14 +0200)
committerRemi Collet <remi@php.net>
Wed, 1 Oct 2014 08:14:14 +0000 (10:14 +0200)
ext/standard/tests/strings/setlocale_variation2.phpt

index 10ae22fe0c6c1e64cb87799ecab865c3467acd49..5ebdfe8d507e862ab2f3414a8a6f627f92502876 100644 (file)
@@ -20,9 +20,9 @@ echo "*** Testing setlocale() : usage variations ***\n";
 
 function good_locale($locale) { 
     /**
-    * Note: no_NO is a bogus locale and should not be used, see https://bugzilla.redhat.com/show_bug.cgi?id=532487
+    * Note: no_NO is a bogus locale and should not be used, see https://bugzilla.redhat.com/971416
     **/
-       return $locale !== 'tt_RU@iqtelif.UTF-8' && substr($locale, 0, 5) !== "no_NO";
+       return $locale !== 'tt_RU@iqtelif.UTF-8' && $locale !== 'no_NO.ISO-8859-1';
 }
 
 /* Prototype  : array list_system_locales( void )