summary refs log tree commit diff
path: root/locale/C-messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/C-messages.c')
-rw-r--r--locale/C-messages.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/locale/C-messages.c b/locale/C-messages.c
index b5fcd199ca..566fedce91 100644
--- a/locale/C-messages.c
+++ b/locale/C-messages.c
@@ -19,14 +19,19 @@ Boston, MA 02111-1307, USA.  */
 
 #include "localeinfo.h"
 
+/* This table's entries are taken from POSIX.2 Table 2-12
+   ``LC_MESSAGES Category Definition in the POSIX Locale''.
+
+   The last two fields are a GNU extension.  */
+
 const struct locale_data _nl_C_LC_MESSAGES =
 {
   _nl_C_name,
   NULL, 0, /* no file mapped */
   4,
   {
-    { string: "[yY][[:alpha:]]*" },
-    { string: "[nN][[:alpha:]]*" },
+    { string: "^[yY]" },
+    { string: "^[nN]" },
     { string: "" },
     { string: "" }
   }