From: Mike FABIAN Date: Wed, 25 Oct 2017 07:56:21 +0000 (+0200) Subject: chr_US locale: Fix yesexpr and noexpr X-Git-Tag: glibc-2.27~604 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=effc9e1d50912d4bc58e189ed30017bb596878b9;p=thirdparty%2Fglibc.git chr_US locale: Fix yesexpr and noexpr * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr, match also for the contents of yesstr and nostr. As the first letter of yesstr and nostr is equal, checking only for the first letter is not enough. --- diff --git a/ChangeLog b/ChangeLog index 4dc57d81891..337af442773 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-10-25 Mike FABIAN + + * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr, + match also for the contents of yesstr and nostr. As the first letter + of yesstr and nostr is equal, checking only for the first letter + is not enough. + 2017-10-25 Mike FABIAN * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ", diff --git a/localedata/locales/chr_US b/localedata/locales/chr_US index 1fa25fbd93f..5ff061aa765 100644 --- a/localedata/locales/chr_US +++ b/localedata/locales/chr_US @@ -98,8 +98,8 @@ week 7;19971130;1 END LC_TIME LC_MESSAGES -yesexpr "" -noexpr "" +yesexpr "^([+1yY]|)" +noexpr "^([-0nN]|)" yesstr "" nostr "" END LC_MESSAGES