OSDN Git Service

New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,
authorManuel Novoa III <mjn3@codepoet.org>
Mon, 6 May 2002 07:37:32 +0000 (07:37 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Mon, 6 May 2002 07:37:32 +0000 (07:37 -0000)
commitd07fdf8b9ece2c4339b325921add50792077bf97
treeb0886656bdd854728f2d1c05597368c4739ecc1b
parent7f09a14cabbec158d683542e53f53ccfe75031fa
New locale support (in development).  Supports LC_CTYPE, LC_NUMERIC,
  LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items.  Also,
  nl_langinfo() when real locale support is enabled.
New implementation of ctype.h.
New implementation of wctype.h.
New implementation of most of the string functions (smaller).
New implementation of the wcs/wmem functions.  These are untested, but
  they're also just preprocessor-modified versions ot the corresponding
  str/mem functions.
Tweaked qsort and new bsearch.

Stuff still pending:
stdlib.h and wchar.h  mb<->wc functions.  I actually have working
   versions of the stdlib ones, but the reentrant versions from
   wchar.h require some reworking.
Basic replacement and translit support for wc->mb conversions.
   (groundwork laid).
Simple-minded collate support such as was provided by the previous
   locale implementation.  (mostly done -- 8-bit codesets only)
Shared mmaping of the locale data and strerror message text.
57 files changed:
Makefile
Rules.mak
extra/locale/.cvsignore [new file with mode: 0644]
extra/locale/LOCALES [new file with mode: 0644]
extra/locale/README
extra/locale/charmaps/ASCII.pairs [new file with mode: 0644]
extra/locale/charmaps/CP1251.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-1.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-10.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-13.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-14.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-15.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-16.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-2.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-3.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-4.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-5.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-6.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-7.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-8.pairs [new file with mode: 0644]
extra/locale/charmaps/ISO-8859-9.pairs [new file with mode: 0644]
extra/locale/charmaps/KOI8-R.pairs [new file with mode: 0644]
extra/locale/charmaps/KOI8-U.pairs [new file with mode: 0644]
extra/locale/charmaps/TIS-620.pairs [new file with mode: 0644]
extra/locale/gen_collate_from_glibc.c [deleted file]
extra/locale/gen_ctype_from_glibc.c [deleted file]
extra/locale/gen_locale.c [new file with mode: 0644]
extra/locale/gen_mmap.c [new file with mode: 0644]
extra/locale/gen_wc8bit.c [new file with mode: 0644]
extra/locale/gen_wctype.c [new file with mode: 0644]
extra/locale/lmmtolso.c [new file with mode: 0644]
extra/locale/locale_mmap.h [new file with mode: 0644]
include/ctype.h
include/inttypes.h
include/langinfo.h
include/libgen.h
include/locale.h
include/stdint.h
include/stdlib.h
libc/misc/Makefile
libc/misc/ctype/Makefile
libc/misc/ctype/ctype.c
libc/misc/ctype/ctype_C.c [deleted file]
libc/misc/internals/__uClibc_main.c
libc/misc/locale/Makefile
libc/misc/locale/_locale.h [deleted file]
libc/misc/locale/locale.c
libc/misc/locale/localeconv.c [deleted file]
libc/misc/wctype/Makefile [new file with mode: 0644]
libc/misc/wctype/wctype.c [new file with mode: 0644]
libc/stdlib/Makefile
libc/stdlib/stdlib.c
libc/string/Makefile
libc/string/wstring.c [new file with mode: 0644]
libc/sysdeps/linux/common/bits/.cvsignore [new file with mode: 0644]
libc/sysdeps/linux/common/bits/uClibc_ctype.h [new file with mode: 0644]
libc/sysdeps/linux/common/bits/uClibc_locale.h [new file with mode: 0644]