summaryrefslogtreecommitdiff
path: root/lib/libc/string/wcsncmp.c
AgeCommit message (Collapse)Author
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2009-01-11merge christos-time_tchristos
2009-01-051. reworking PR lib/40317:tnozaki
libnbcompat already contains empty fparseln.lo so previous fix doesn't work correctly. i've just added broken fparseln check to configure script. 2. reworking cross build breakage under FreeBSD/MacOS X. FreeBSD/MacOS X still have public /usr/include/runetype.h derived from 4.4BSD-Lite. so i renamed out private header from src/lib/libc/locale/runetype.h to src/lib/libc/locale/runetype_local.h to solve this problems. 3. fix build breakage when CITRUS=no was set.
2009-01-02Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db ↵tnozaki
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.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-04-06- support for the additional code area of zh_CN.GB18030 locale,tshiozak
- make sure that __nbrune_t is unsigned 32bit clean and - fix wrong copyright notice in the last commit. this patch is contributed by Takehiko NOZAKI <sigsegv at s25 dot xrea dot com>.
2001-01-05fix wcs*cmp() behavior when the wide char string is equal. from sodaitojun
XXX assumes wchar_t == int.
2001-01-03sprinkle in _DIAGASSERT() as appropriatelukem
2000-12-23move wcs* and wmem* from lib/libc/locale to lib/libc/string.itojun