NetBSD/lib/libc
tnozaki 52ed7b035f Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00
..
arch Remove __LIBC12_SOURCE__ 2008-11-24 16:10:27 +00:00
atomic Install manual pages for the atomic ops. 2008-06-23 10:22:40 +00:00
citrus Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
compat define and use LIBCDIR in terms of .CURDIR. fixes compat/lib/libc build. 2008-10-26 07:43:07 +00:00
compat-43
db unsigned int32_t -> uint32_t 2008-09-26 11:41:06 +00:00
dlfcn
gdtoa Make this build again. 2008-03-28 00:56:54 +00:00
gen Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
gmon Disable assembler warnings on mipseb and mipsel for mcount.c 2008-07-29 14:20:12 +00:00
hash Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
iconv Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
include Add fdopendir(), from Solaris/Linux. 2008-12-05 13:08:53 +00:00
inet PR/39519: Nozomu Ando: Fix incorrect change from bind9 that broke IPv4 mapped 2008-09-11 15:40:43 +00:00
isc updates from bind-9-5-0 2008-06-21 20:41:48 +00:00
locale Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
md
misc xprintf returns void. 2008-06-03 19:22:37 +00:00
nameser updates from bind-9-5-0 2008-06-21 20:41:48 +00:00
net Changee __attribute(__weak__) to __weak_reference(). Produces same object code 2008-08-17 10:51:19 +00:00
nls Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
quad
regex
resolv - protect DEBUG again because we should be able to set it from the Makefile 2008-06-21 23:37:53 +00:00
rpc document svc_getrpccaller 2008-12-12 23:22:26 +00:00
softfloat Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
ssp fix a typo 2008-06-06 05:51:46 +00:00
stdio PR/9359: Chris Demetriou: Document fread/fwrite mixing behavior. 2008-12-19 20:20:48 +00:00
stdlib Our qsort() is inappropriate for kernel use because it makes recursive 2008-11-16 16:15:58 +00:00
string Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
sys correct EBADF bogus comment. 2008-12-02 19:20:06 +00:00
termios
thread-stub Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
time don't forget to use neg. 2008-11-04 21:08:33 +00:00
uuid Move TNF licenses to 2 clause form 2008-05-02 18:11:04 +00:00
yp Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
libcincludes.mk put the code to find the libc include directories and define ARCHSUBDIR 2008-10-26 07:28:06 +00:00
Makefile define and use LIBCDIR in terms of .CURDIR. fixes compat/lib/libc build. 2008-10-26 07:43:07 +00:00
Makefile.inc use libcincludes.mk 2008-10-26 07:42:09 +00:00
shlib_version Add more items for major bump. 2008-12-28 10:59:20 +00:00