Age | Commit message (Collapse) | Author |
|
|
|
be more like glibc. Applications expecting to be able to
query locale settings should now work... at the cost of almost
doubling the size of the setlocale object code.
Fixed a bug in the internal fixed-size-string locale specifier code.
|
|
to __strchrnul, and add weak aliases for them.
|
|
Implemented unformatted wide i/o functions. (ungetwc still needs testing)
Fix a few bugs in wchar.c.
Modifications for bcc/elks support.
|
|
|
|
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.
|
|
|
|
I started trying to read the glibc code -- but that code is far too
messy to be read. So I just wrote a silly C app against glibc, set
the locale to POSIX, then called localeconv(). I wrote this version
of localeconv.c so it returns the same stuff.
-Erik
|
|
|
|
|