From a035eb6928bc63fb798dcc1421529f933122d74f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 15 Dec 2016 18:34:05 -0500 Subject: localedata: bs_BA: fix yesexpr/noexpr [BZ #20974] Both regexes end with a "*." which means the previous match can be omitted, and then the . allows them to match any input at all. This means tools like coreutils' `rm -i` will always delete things when prompted because the yesexpr regex matches all inputs (even the negative ones). --- localedata/ChangeLog | 6 ++++++ localedata/locales/bs_BA | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index cb514baae3..21c297e76a 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,9 @@ +2016-12-30 Mike Frysinger + + [BZ #20974] + * localedata/bs_BA (LC_MESSAGES): Delete "*." from the end of + yesexpr and noexpr. + 2016-11-26 Mike Frysinger [BZ #20864] diff --git a/localedata/locales/bs_BA b/localedata/locales/bs_BA index a47f87eb37..68c2f9471a 100644 --- a/localedata/locales/bs_BA +++ b/localedata/locales/bs_BA @@ -148,8 +148,8 @@ copy "en_DK" END LC_CTYPE LC_MESSAGES -yesexpr "" -noexpr "" +yesexpr "" +noexpr "" yesstr "" nostr "" END LC_MESSAGES -- cgit 1.4.1