* [PATCH/committed 2.23] localedata: bs_BA: fix yesexpr/noexpr [BZ #20974]
@ 2016-01-01 0:00 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2016-01-01 0:00 UTC (permalink / raw)
To: libc-stable
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).
(cherry picked from commit a035eb6928bc63fb798dcc1421529f933122d74f)
---
localedata/ChangeLog | 6 ++++++
localedata/locales/bs_BA | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index dd1c2b102993..02c0219ff4d1 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,9 @@
+2016-12-30 Mike Frysinger <vapier@gentoo.org>
+
+ [BZ #20974]
+ * localedata/bs_BA (LC_MESSAGES): Delete "*." from the end of
+ yesexpr and noexpr.
+
2016-02-19 Florian Weimer <fweimer@redhat.com>
[BZ #19581]
diff --git a/localedata/locales/bs_BA b/localedata/locales/bs_BA
index fa574a15e7e6..9201862b937b 100644
--- a/localedata/locales/bs_BA
+++ b/localedata/locales/bs_BA
@@ -144,8 +144,8 @@ copy "en_DK"
END LC_CTYPE
LC_MESSAGES
-yesexpr "<U005E><U005B><U0064><U0044><U0079><U0059><U005D><U002A><U002E>"
-noexpr "<U005E><U005B><U006E><U004E><U005D><U002A><U002E>"
+yesexpr "<U005E><U005B><U0064><U0044><U0079><U0059><U005D>"
+noexpr "<U005E><U005B><U006E><U004E><U005D>"
END LC_MESSAGES
LC_MONETARY
--
2.11.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-31 19:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-01 0:00 [PATCH/committed 2.23] localedata: bs_BA: fix yesexpr/noexpr [BZ #20974] Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).