CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2017/09/04 21:16:14
Modified files: include : ctype.h langinfo.h locale.h stdlib.h string.h strings.h time.h wchar.h wctype.h lib/libc : Symbols.list lib/libc/gen : isalnum.3 isalpha.3 isblank.3 iscntrl.3 isdigit.3 isgraph.3 islower.3 isprint.3 ispunct.3 isspace.3 isupper.3 isxdigit.3 tolower.3 toupper.3 lib/libc/hidden: ctype.h langinfo.h locale.h stdlib.h string.h time.h wchar.h wctype.h lib/libc/locale: Makefile.inc ___runetype_mb.c __mb_cur_max.c iswalnum.3 iswctype.3 iswctype.c multibyte_citrus.c nl_langinfo.3 nl_langinfo.c rune.h rune_local.h runetable.c setlocale.c towctrans.3 towlower.3 wcsxfrm.c wctrans.3 wctype.3 lib/libc/string: Makefile.inc strcasecmp.3 strcoll.3 strerror.3 strxfrm.3 wcscasecmp.3 lib/libc/time : Makefile.inc strftime.3 lib/libcxx : shlib_version lib/libcxx/include/support/newlib: xlocale.h distrib/sets/lists/base: md.amd64 md.arm64 md.i386 mi distrib/sets/lists/comp: mi Added files: lib/libc/locale: _CurrentRuneLocale.c _get_locname.c duplocale.c freelocale.c isctype_l.c iswctype_l.c newlocale.3 newlocale.c nl_langinfo_l.c uselocale.3 uselocale.c wcscoll.3 wcscoll_l.c wcsxfrm.3 wcsxfrm_l.c lib/libc/string: strcasecmp_l.c strcoll_l.c strerror_l.c strxfrm_l.c wcscasecmp_l.c lib/libc/time : strftime_l.c Removed files: lib/libc/locale: setrunelocale.c Log message: New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8. With important help from kettenis@, guenther@, and jca@. Repeated testing in ports bulk builds by naddy@. Additional testing by jca@, sebastia@, dcoppa@, and others. OK kettenis@ dcoppa@, and guenther@ on an earlier version. Riding guenther@'s libc/librthread major bump.