summaryrefslogtreecommitdiff
path: root/locale/C-ctype.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-31 18:42:14 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-31 18:42:14 +0000
commit52bc074fec2a0e606b69f6d94198a6cbcb044442 (patch)
treed0aa5705bfb414795703c2b3fabf226024d33c5f /locale/C-ctype.c
parenta4f4b72b80dd7a36d65828d351716c45908c0ada (diff)
Update.
1999-08-31 Andreas Schwab <schwab@suse.de> * locale/C-collate.c: Add missing initialisations. * locale/C-ctype.c: Likewise.
Diffstat (limited to 'locale/C-ctype.c')
-rw-r--r--locale/C-ctype.c22
1 files changed, 20 insertions, 2 deletions
diff --git a/locale/C-ctype.c b/locale/C-ctype.c
index 77281b0095..f81f5c3ac1 100644
--- a/locale/C-ctype.c
+++ b/locale/C-ctype.c
@@ -361,8 +361,11 @@ const struct locale_data _nl_C_LC_CTYPE =
{ string: (const char *) _nl_C_LC_CTYPE_names },
#if BYTE_ORDER == BIG_ENDIAN
{ string: NULL },
-#endif
{ word: 256 }, { word: 1 },
+#endif
+#if BYTE_ORDER == LITTLE_ENDIAN
+ { word: 0 }, { word: 0 },
+#endif
{ string: "upper\0" "lower\0" "alpha\0" "digit\0" "xdigit\0" "space\0"
"print\0" "graph\0" "blank\0" "cntrl\0" "punct\0" "alnum\0"
"left_to_right\0" "right_to_left\0" "num_terminator\0"
@@ -375,7 +378,14 @@ const struct locale_data _nl_C_LC_CTYPE =
{ string: _nl_C_LC_CTYPE_width },
{ word: 1 },
{ string: "ANSI_X3.4-1968" },
- { word: 1 },
+#if BYTE_ORDER == BIG_ENDIAN
+ { word: 0 }, { word: 0 },
+ { word: 1 }, { word: 0 },
+#endif
+#if BYTE_ORDER == LITTLE_ENDIAN
+ { word: 256 }, { word: 1 },
+ { word: 0 }, { word: 1 },
+#endif
{ string: "0" },
{ string: "1" },
{ string: "2" },
@@ -386,6 +396,12 @@ const struct locale_data _nl_C_LC_CTYPE =
{ string: "7" },
{ string: "8" },
{ string: "9" },
+#if BYTE_ORDER == BIG_ENDIAN
+ { word: 1 }, { word: 0 },
+#endif
+#if BYTE_ORDER == LITTLE_ENDIAN
+ { word: 0 }, { word: 1 },
+#endif
#if BYTE_ORDER == LITTLE_ENDIAN
{ wstr: (uint32_t *) L"" },
{ wstr: (uint32_t *) L"" },
@@ -473,6 +489,8 @@ const struct locale_data _nl_C_LC_CTYPE =
{ string: "" },
{ string: "" },
{ string: "" },
+ { string: "" },
+ { string: "" },
{ string: "" }
}
};