NetBSD/distrib
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
..
acorn26 Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
acorn32 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands. 2008-10-19 22:05:19 +00:00
alpha Change remaining instances of ${RELEASEDIR}/${MACHINES} to 2008-06-23 02:16:53 +00:00
amd64 avoid full path to boot.cfg file when building amd64 boot floppy 2008-11-04 23:02:52 +00:00
amiga usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
arc It looks the ARC BIOS has another limit which prevents loading 2008-11-20 13:57:09 +00:00
atari Fix atari sysinst based miniroot image, and retire old (unreferenced) 2008-11-17 20:14:35 +00:00
bebox/floppies Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
cats Mirror the changes to sys/arch/cats/conf/Makefile.cats.inc: remove 2008-06-09 20:05:12 +00:00
cdrom Switch the i386 installation CDs away from RAM disks and instead use the 2008-11-21 15:49:51 +00:00
cobalt - enable dhclient(8) in RAMDISK kernel 2008-09-13 07:36:30 +00:00
common reduce syscalls 2008-12-22 18:58:22 +00:00
dreamcast Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
evbarm add GEMINI_INSTALL memory disk set target 2008-10-31 02:04:04 +00:00
evbmips Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
evbppc Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
evbsh3/rom MAKEDEV.subr no longer exists. Don't install it in any ramdisk 2007-03-03 06:40:05 +00:00
ews4800mips Change remaining instances of ${RELEASEDIR}/${MACHINES} to 2008-06-23 02:16:53 +00:00
hp300 - add xterm entry since dot.profile has an option to use it 2008-12-22 18:37:09 +00:00
hp700 Bump image size to deal with bloat. 2008-07-17 07:01:30 +00:00
hpcarm usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
hpcmips usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
hpcsh usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
i386 Remove superfluous target "image_md_pre". It is already present 2008-12-09 12:01:55 +00:00
ibmnws Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
landisk Commit the landisk install stuff I hacked together from hubert's efforts. 2008-04-14 17:24:56 +00:00
mac68k usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
macppc Change remaining instances of ${RELEASEDIR}/${MACHINES} to 2008-06-23 02:16:53 +00:00
miniroot Add ${IMAGE}.gz to dependency list of release:: target as well as the one 2008-09-19 17:23:32 +00:00
mipsco Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
mvme68k usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
mvmeppc Add an iso_image target (iso-image as a target name doesn't play well with 2007-03-06 21:56:47 +00:00
news68k Bump install ramdisk image size from 1440k to 1500k, so that it fits again. 2008-11-08 10:24:23 +00:00
newsmips Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
notes Add myself. 2008-12-09 00:50:27 +00:00
ofppc usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
playstation2 usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
pmax Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols. 2008-11-30 04:18:14 +00:00
prep Change remaining instances of ${RELEASEDIR}/${MACHINES} to 2008-06-23 02:16:53 +00:00
sandpoint Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
sets Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
sgimips usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
shark Change remaining instances of ${RELEASEDIR}/${MACHINES} to 2008-06-23 02:16:53 +00:00
sparc usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
sparc64 Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
sun2 usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
sun3 usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
syspkg Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
utils Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format. 2009-01-02 00:20:18 +00:00
vax usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
x68k Change remaining instances of ${RELEASEDIR}/${MACHINES} to 2008-06-23 02:16:53 +00:00
zaurus Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
Makefile Create a dynamically linked sysinst as part of the build process, but don't 2008-11-21 15:39:29 +00:00
Makefile.inc Add an iso_image target (iso-image as a target name doesn't play well with 2007-03-06 21:56:47 +00:00