diff options
author | Roland McGrath <roland@gnu.org> | 1995-03-06 03:00:08 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-03-06 03:00:08 +0000 |
commit | 933e73facc338fb81f1f72af416ea57fbf439a2f (patch) | |
tree | 1a91e86bb27602a860b65afca47cbc6a38223df4 /locale/C-ctype_ct.c | |
parent | 6408bdde65cac02ef96ae9f2b77f222b534c0e75 (diff) | |
download | glibc-933e73facc338fb81f1f72af416ea57fbf439a2f.tar glibc-933e73facc338fb81f1f72af416ea57fbf439a2f.tar.gz glibc-933e73facc338fb81f1f72af416ea57fbf439a2f.tar.bz2 glibc-933e73facc338fb81f1f72af416ea57fbf439a2f.zip |
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
Diffstat (limited to 'locale/C-ctype_ct.c')
-rw-r--r-- | locale/C-ctype_ct.c | 793 |
1 files changed, 0 insertions, 793 deletions
diff --git a/locale/C-ctype_ct.c b/locale/C-ctype_ct.c deleted file mode 100644 index b77e809a52..0000000000 --- a/locale/C-ctype_ct.c +++ /dev/null @@ -1,793 +0,0 @@ -#include <ansidecl.h> -#include <localeinfo.h> -#include <stddef.h> -#include <ctype.h> - -CONST unsigned short int __ctype_b_C[] = - { - 0, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl|_ISspace|_ISblank, - _IScntrl|_ISspace, - _IScntrl|_ISspace, - _IScntrl|_ISspace, - _IScntrl|_ISspace, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _ISspace|_NOgraph|_ISblank, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISdigit|_IShex, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISalpha|_ISupper|_IShex, - _ISalpha|_ISupper|_IShex, - _ISalpha|_ISupper|_IShex, - _ISalpha|_ISupper|_IShex, - _ISalpha|_ISupper|_IShex, - _ISalpha|_ISupper|_IShex, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISalpha|_ISupper, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _ISalpha|_ISlower|_IShex, - _ISalpha|_ISlower|_IShex, - _ISalpha|_ISlower|_IShex, - _ISalpha|_ISlower|_IShex, - _ISalpha|_ISlower|_IShex, - _ISalpha|_ISlower|_IShex, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISalpha|_ISlower, - _ISpunct, - _ISpunct, - _ISpunct, - _ISpunct, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - _IScntrl, - }; -CONST short int __ctype_tolower_C[] = - { - -1, - 0000, - 0001, - 0002, - 0003, - 0004, - 0005, - 0006, - 0007, - 0010, - 0011, - 0012, - 0013, - 0014, - 0015, - 0016, - 0017, - 0020, - 0021, - 0022, - 0023, - 0024, - 0025, - 0026, - 0027, - 0030, - 0031, - 0032, - 0033, - 0034, - 0035, - 0036, - 0037, - 0040, - '!', - '"', - '#', - '$', - '%', - '&', - '\'', - '(', - ')', - '*', - '+', - ',', - '-', - '.', - '/', - '0', - '1', - '2', - '3', - '4', - '5', - '6', - '7', - '8', - '9', - ':', - ';', - '<', - '=', - '>', - '?', - '@', - 'a', - 'b', - 'c', - 'd', - 'e', - 'f', - 'g', - 'h', - 'i', - 'j', - 'k', - 'l', - 'm', - 'n', - 'o', - 'p', - 'q', - 'r', - 's', - 't', - 'u', - 'v', - 'w', - 'x', - 'y', - 'z', - '[', - '\\', - ']', - '^', - '_', - '`', - 'a', - 'b', - 'c', - 'd', - 'e', - 'f', - 'g', - 'h', - 'i', - 'j', - 'k', - 'l', - 'm', - 'n', - 'o', - 'p', - 'q', - 'r', - 's', - 't', - 'u', - 'v', - 'w', - 'x', - 'y', - 'z', - '{', - '|', - '}', - '~', - 0177, - 0200, - 0201, - 0202, - 0203, - 0204, - 0205, - 0206, - 0207, - 0210, - 0211, - 0212, - 0213, - 0214, - 0215, - 0216, - 0217, - 0220, - 0221, - 0222, - 0223, - 0224, - 0225, - 0226, - 0227, - 0230, - 0231, - 0232, - 0233, - 0234, - 0235, - 0236, - 0237, - 0240, - 0241, - 0242, - 0243, - 0244, - 0245, - 0246, - 0247, - 0250, - 0251, - 0252, - 0253, - 0254, - 0255, - 0256, - 0257, - 0260, - 0261, - 0262, - 0263, - 0264, - 0265, - 0266, - 0267, - 0270, - 0271, - 0272, - 0273, - 0274, - 0275, - 0276, - 0277, - 0300, - 0301, - 0302, - 0303, - 0304, - 0305, - 0306, - 0307, - 0310, - 0311, - 0312, - 0313, - 0314, - 0315, - 0316, - 0317, - 0320, - 0321, - 0322, - 0323, - 0324, - 0325, - 0326, - 0327, - 0330, - 0331, - 0332, - 0333, - 0334, - 0335, - 0336, - 0337, - 0340, - 0341, - 0342, - 0343, - 0344, - 0345, - 0346, - 0347, - 0350, - 0351, - 0352, - 0353, - 0354, - 0355, - 0356, - 0357, - 0360, - 0361, - 0362, - 0363, - 0364, - 0365, - 0366, - 0367, - 0370, - 0371, - 0372, - 0373, - 0374, - 0375, - 0376, - 0377, - }; -CONST short int __ctype_toupper_C[] = - { - -1, - 0000, - 0001, - 0002, - 0003, - 0004, - 0005, - 0006, - 0007, - 0010, - 0011, - 0012, - 0013, - 0014, - 0015, - 0016, - 0017, - 0020, - 0021, - 0022, - 0023, - 0024, - 0025, - 0026, - 0027, - 0030, - 0031, - 0032, - 0033, - 0034, - 0035, - 0036, - 0037, - 0040, - '!', - '"', - '#', - '$', - '%', - '&', - '\'', - '(', - ')', - '*', - '+', - ',', - '-', - '.', - '/', - '0', - '1', - '2', - '3', - '4', - '5', - '6', - '7', - '8', - '9', - ':', - ';', - '<', - '=', - '>', - '?', - '@', - 'A', - 'B', - 'C', - 'D', - 'E', - 'F', - 'G', - 'H', - 'I', - 'J', - 'K', - 'L', - 'M', - 'N', - 'O', - 'P', - 'Q', - 'R', - 'S', - 'T', - 'U', - 'V', - 'W', - 'X', - 'Y', - 'Z', - '[', - '\\', - ']', - '^', - '_', - '`', - 'A', - 'B', - 'C', - 'D', - 'E', - 'F', - 'G', - 'H', - 'I', - 'J', - 'K', - 'L', - 'M', - 'N', - 'O', - 'P', - 'Q', - 'R', - 'S', - 'T', - 'U', - 'V', - 'W', - 'X', - 'Y', - 'Z', - '{', - '|', - '}', - '~', - 0177, - 0200, - 0201, - 0202, - 0203, - 0204, - 0205, - 0206, - 0207, - 0210, - 0211, - 0212, - 0213, - 0214, - 0215, - 0216, - 0217, - 0220, - 0221, - 0222, - 0223, - 0224, - 0225, - 0226, - 0227, - 0230, - 0231, - 0232, - 0233, - 0234, - 0235, - 0236, - 0237, - 0240, - 0241, - 0242, - 0243, - 0244, - 0245, - 0246, - 0247, - 0250, - 0251, - 0252, - 0253, - 0254, - 0255, - 0256, - 0257, - 0260, - 0261, - 0262, - 0263, - 0264, - 0265, - 0266, - 0267, - 0270, - 0271, - 0272, - 0273, - 0274, - 0275, - 0276, - 0277, - 0300, - 0301, - 0302, - 0303, - 0304, - 0305, - 0306, - 0307, - 0310, - 0311, - 0312, - 0313, - 0314, - 0315, - 0316, - 0317, - 0320, - 0321, - 0322, - 0323, - 0324, - 0325, - 0326, - 0327, - 0330, - 0331, - 0332, - 0333, - 0334, - 0335, - 0336, - 0337, - 0340, - 0341, - 0342, - 0343, - 0344, - 0345, - 0346, - 0347, - 0350, - 0351, - 0352, - 0353, - 0354, - 0355, - 0356, - 0357, - 0360, - 0361, - 0362, - 0363, - 0364, - 0365, - 0366, - 0367, - 0370, - 0371, - 0372, - 0373, - 0374, - 0375, - 0376, - 0377, - }; - - -CONST struct ctype_ctype_info __ctype_ctype_C = - { - (unsigned short int *) __ctype_b_C, - (short int *) __ctype_tolower_C, - (short int *) __ctype_toupper_C - }; |