]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
localedata: bs_BA: fix yesexpr/noexpr [BZ #20974]
authorMike Frysinger <vapier@gentoo.org>
Thu, 15 Dec 2016 23:34:05 +0000 (18:34 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 30 Dec 2016 06:50:33 +0000 (01:50 -0500)
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
localedata/locales/bs_BA

index 4be8afc110da753ddbf366b2c65bdcbf7deac417..6db3c88c9f361bfd71a52bf842fbe4f480945218 100644 (file)
@@ -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-07-07  Aurelien Jarno  <aurelien@aurel32.net>
 
        * locales/de_LI (postal_fmt): Fix indentation.
index a47f87eb373d7f559d9f17db411f46f0a73d2110..68c2f9471a09c8f6b9203c81cbf9ebd03662ef65 100644 (file)
@@ -148,8 +148,8 @@ copy "en_DK"
 END LC_CTYPE
 
 LC_MESSAGES
-yesexpr "<U005E><U005B><U002B><U0031><U0064><U0044><U0079><U0059><U005D><U002A><U002E>"
-noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U005D><U002A><U002E>"
+yesexpr "<U005E><U005B><U002B><U0031><U0064><U0044><U0079><U0059><U005D>"
+noexpr  "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
 yesstr  "<U0064><U0061>"
 nostr   "<U006E><U0065>"
 END LC_MESSAGES