]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add table pointer for both endianesses.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Feb 2000 22:48:54 +0000 (22:48 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Feb 2000 22:48:54 +0000 (22:48 +0000)
locale/C-ctype.c

index 44bace10685d20eb5e4598ddf0b1bbe0a57499d1..e442d11bea4ed30d314c9210eb0c10a814140e9f 100644 (file)
@@ -343,7 +343,7 @@ const struct locale_data _nl_C_LC_CTYPE =
   _nl_C_name,
   NULL, 0, 0, /* no file mapped */
   UNDELETABLE,
-  15,
+  20,
   {
     { string: _nl_C_LC_CTYPE_class },
 #if BYTE_ORDER == LITTLE_ENDIAN
@@ -369,7 +369,14 @@ const struct locale_data _nl_C_LC_CTYPE =
     { string: _nl_C_LC_CTYPE_width },
     { word: 1 },
     { string: "ANSI_X3.4-1968" },
+#if BYTE_ORDER == LITTLE_ENDIAN
+    { string: NULL },
+#endif
     { string: (const char *) (_nl_C_LC_CTYPE_toupper + 128) },
+    { string: NULL },
     { string: (const char *) (_nl_C_LC_CTYPE_tolower + 128) }
+#if BYTE_ORDER == BIG_ENDIAN
+    { string: NULL },
+#endif
   }
 };