Commit Graph

7 Commits

Author SHA1 Message Date
christos 4495412c88 de-lint. 2001-02-06 18:48:41 +00:00
lukem 2e9d6ac8c1 sprinkle in _DIAGASSERT() as appropriate 2001-01-03 15:23:26 +00:00
itojun b648355aae put _RuneLocale pointer into mbstate_t for better thread safeness 2000-12-30 05:05:57 +00:00
itojun 2ea22179ea switch locale module API, from s{get,put}rune to wcrtomb/mbrtowc.
handle intermediate mbstate_t more correctly.
no externally-visible changes here.
2000-12-28 05:22:27 +00:00
itojun 6d24d8c968 set errno on wcrtomb() encoding error, on EILSEQ. 2000-12-22 06:29:40 +00:00
itojun 4d799da3d4 mbrlen is equivalent to mbrtowc with 1st arg NULL (mentioned in spec). 2000-12-22 06:24:15 +00:00
itojun 408f4697a6 first import of citrus LC_CTYPE locale. singlebyte only at this moment.
shot-term TODO:
- enable multibyte locales.  this includes loadable locale modules
  (#ifdef DLRUNE).
- populate LC_CTYPE definition files.
- other functions such as iconv()
- make libc functions more friendly with multibyte.
- multilingualize other LC_xx
- torture tests

XXX don't forget to "make depend" when you rebuild libc, multibyte.c is
moved from lib/libc/stdlib to lib/libc/locale.
2000-12-21 11:29:47 +00:00