This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository newlib.
from 51b669f Do not include wctype.h in wchar.h with _GNU_SOURCE new a6a477f POSIX-1.2008 per-thread locales, groundwork part 1 new 88208d3 POSIX-1.2008 per-thread locales, groundwork part 2 new d16a563 Consolidate wctomb/mbtowc calls for POSIX-1.2008 new 1498c79 Change loadlocale to fill a __locale_t given as parameter new 53f84bb Rearrange struct __locale_t pointers into an array new d4f6cae Use __get_global_locale function where appropriate new aefd8b5 Implement newlocale, freelocale, duplocale, uselocale new 1afa0fe Fix memory handling in functions called from loadlocale new c402f03 posix.xml: Note duplocale, freelocale, newlocale, uselocale a [...] new cf2cd69 Remove non-working __part_load_locale function and any related code new a2ed503 include/locale.h: Fix POSIX guards new 956565b Move localeconv, duplocale, freelocale, newlocale, uselocale [...] new 8493c16 Implement all per-locale ctype functions new c1b7d9d Implement per-locale string functions new fb4fb92 Move lconv into struct __locale_t and implement __localeconv_l new 542b970 Rename __get_locale_XXX to __get_XXX_locale to use unified na [...] new 765d2c0 Implement strfmon_l new 91ebe04 Bump CygwinAPI minor. new 7156bf8 Add sys/_locale.h header and fix up headers new ac7f1d5 Get rid of LCID, reformat type definitions in setlocale.h new 18f6750 Fix typo in isalnum_l doc new 659f4ca Fix _REENT_INIT initialization of _locale new d7281b9 Fix multiple thinkos in newlocale new 8f1378b Make sure alloca is called even when optimizing, fully init _REENT new beb721c __loadlocale: Set missing val when evaluating CP874 new 1a5d080 setlocale.h: Fix current locale handling for !__HAVE_LOCALE_I [...] new 5bdf8cf setlocale/localeconv are *not* POSIX-1.2008
The 27 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: newlib/libc/ctype/Makefile.am | 70 ++++- newlib/libc/ctype/Makefile.in | 382 ++++++++++++++++++++++-- newlib/libc/ctype/ctype.tex | 131 +++++++++ newlib/libc/ctype/ctype_.c | 74 ++--- newlib/libc/ctype/isalnum.c | 2 +- newlib/libc/ctype/isalnum_l.c | 44 +++ newlib/libc/ctype/isalpha.c | 2 +- newlib/libc/ctype/isalpha_l.c | 43 +++ newlib/libc/ctype/isascii_l.c | 40 +++ newlib/libc/ctype/isblank.c | 2 +- newlib/libc/ctype/isblank_l.c | 39 +++ newlib/libc/ctype/iscntrl.c | 2 +- newlib/libc/ctype/iscntrl_l.c | 44 +++ newlib/libc/ctype/isdigit.c | 2 +- newlib/libc/ctype/isdigit_l.c | 42 +++ newlib/libc/ctype/islower.c | 2 +- newlib/libc/ctype/islower_l.c | 43 +++ newlib/libc/ctype/isprint.c | 4 +- newlib/libc/ctype/isprint_l.c | 57 ++++ newlib/libc/ctype/ispunct.c | 2 +- newlib/libc/ctype/ispunct_l.c | 45 +++ newlib/libc/ctype/isspace.c | 2 +- newlib/libc/ctype/isspace_l.c | 43 +++ newlib/libc/ctype/isupper.c | 2 +- newlib/libc/ctype/isupper_l.c | 42 +++ newlib/libc/ctype/iswalnum_l.c | 36 +++ newlib/libc/ctype/iswalpha_l.c | 36 +++ newlib/libc/ctype/iswblank_l.c | 36 +++ newlib/libc/ctype/iswcntrl_l.c | 36 +++ newlib/libc/ctype/iswctype_l.c | 37 +++ newlib/libc/ctype/iswdigit_l.c | 34 +++ newlib/libc/ctype/iswgraph_l.c | 36 +++ newlib/libc/ctype/iswlower_l.c | 37 +++ newlib/libc/ctype/iswprint_l.c | 36 +++ newlib/libc/ctype/iswpunct_l.c | 36 +++ newlib/libc/ctype/iswspace_l.c | 36 +++ newlib/libc/ctype/iswupper_l.c | 36 +++ newlib/libc/ctype/iswxdigit_l.c | 37 +++ newlib/libc/ctype/isxdigit.c | 2 +- newlib/libc/ctype/isxdigit_l.c | 43 +++ newlib/libc/ctype/local.h | 3 +- newlib/libc/ctype/toascii_l.c | 39 +++ newlib/libc/ctype/tolower_l.c | 66 +++++ newlib/libc/ctype/toupper_l.c | 67 +++++ newlib/libc/ctype/towctrans_l.c | 40 +++ newlib/libc/ctype/towlower_l.c | 40 +++ newlib/libc/ctype/towupper_l.c | 38 +++ newlib/libc/ctype/wctrans_l.c | 40 +++ newlib/libc/ctype/wctype_l.c | 39 +++ newlib/libc/include/ctype.h | 78 ++++- newlib/libc/include/locale.h | 43 ++- newlib/libc/include/string.h | 12 + newlib/libc/include/sys/_locale.h | 12 + newlib/libc/include/sys/reent.h | 14 +- newlib/libc/include/time.h | 10 + newlib/libc/include/wchar.h | 12 + newlib/libc/include/wctype.h | 25 ++ newlib/libc/locale/Makefile.am | 10 +- newlib/libc/locale/Makefile.in | 121 +++++--- newlib/libc/locale/duplocale.c | 61 ++++ newlib/libc/locale/fix_grouping.c | 82 ------ newlib/libc/locale/freelocale.c | 27 ++ newlib/libc/locale/lctype.c | 104 +++---- newlib/libc/locale/lctype.h | 47 --- newlib/libc/locale/ldpart.c | 194 ------------ newlib/libc/locale/ldpart.h | 35 --- newlib/libc/locale/lmessages.c | 104 +++---- newlib/libc/locale/lmessages.h | 57 ---- newlib/libc/locale/lmonetary.c | 135 +++------ newlib/libc/locale/lmonetary.h | 76 ----- newlib/libc/locale/lnumeric.c | 102 +++---- newlib/libc/locale/lnumeric.h | 54 ---- newlib/libc/locale/locale.c | 406 ++++++++++++-------------- newlib/libc/locale/localeconv.c | 66 +++++ newlib/libc/locale/newlocale.c | 140 +++++++++ newlib/libc/locale/nl_langinfo.c | 27 +- newlib/libc/locale/setlocale.h | 335 ++++++++++++++++++++- newlib/libc/locale/timelocal.c | 80 ++--- newlib/libc/locale/timelocal.h | 85 ------ newlib/libc/locale/uselocale.c | 27 ++ newlib/libc/stdio/vfprintf.c | 7 +- newlib/libc/stdio/vfscanf.c | 3 +- newlib/libc/stdio/vfwprintf.c | 2 +- newlib/libc/stdio/vfwscanf.c | 2 +- newlib/libc/stdlib/btowc.c | 3 +- newlib/libc/stdlib/local.h | 71 +++-- newlib/libc/stdlib/mblen.c | 2 +- newlib/libc/stdlib/mblen_r.c | 2 +- newlib/libc/stdlib/mbrtowc.c | 8 +- newlib/libc/stdlib/mbstowcs_r.c | 2 +- newlib/libc/stdlib/mbtowc.c | 2 +- newlib/libc/stdlib/mbtowc_r.c | 402 ++++++++++++++++++++++--- newlib/libc/stdlib/sb_charsets.c | 34 ++- newlib/libc/stdlib/wcrtomb.c | 8 +- newlib/libc/stdlib/wcsnrtombs.c | 4 +- newlib/libc/stdlib/wcstombs_r.c | 4 +- newlib/libc/stdlib/wctob.c | 3 +- newlib/libc/stdlib/wctomb.c | 3 +- newlib/libc/stdlib/wctomb_r.c | 359 ++++++++++++++++++++--- newlib/libc/string/Makefile.am | 14 +- newlib/libc/string/Makefile.in | 132 +++++++-- newlib/libc/string/strcasecmp.c | 6 +- newlib/libc/string/strcasecmp_l.c | 54 ++++ newlib/libc/string/strcoll.c | 3 + newlib/libc/string/strcoll_l.c | 46 +++ newlib/libc/string/strncasecmp.c | 6 +- newlib/libc/string/strncasecmp_l.c | 56 ++++ newlib/libc/string/strxfrm.c | 3 +- newlib/libc/string/{strxfrm.c => strxfrm_l.c} | 35 +-- newlib/libc/string/wcscasecmp.c | 12 +- newlib/libc/string/wcscasecmp_l.c | 54 ++++ newlib/libc/string/wcscoll.c | 4 +- newlib/libc/string/wcscoll_l.c | 43 +++ newlib/libc/string/wcsncasecmp.c | 17 +- newlib/libc/string/wcsncasecmp_l.c | 56 ++++ newlib/libc/string/wcsxfrm.c | 4 +- newlib/libc/string/wcsxfrm_l.c | 47 +++ newlib/libc/time/strftime.c | 102 ++++--- newlib/libc/time/strptime.c | 6 +- winsup/cygwin/common.din | 50 ++++ winsup/cygwin/ctype.cc | 28 +- winsup/cygwin/cygheap.cc | 4 +- winsup/cygwin/cygheap.h | 2 - winsup/cygwin/fhandler.h | 2 +- winsup/cygwin/fhandler_console.cc | 35 +-- winsup/cygwin/include/cygwin/version.h | 15 +- winsup/cygwin/include/monetary.h | 13 +- winsup/cygwin/init.cc | 13 + winsup/cygwin/libc/strfmon.c | 97 +++--- winsup/cygwin/libc/strptime.cc | 5 +- winsup/cygwin/nlsfuncs.cc | 198 +++++++------ winsup/cygwin/regex/regcomp.c | 9 +- winsup/cygwin/strfuncs.cc | 60 ++-- winsup/cygwin/wchar.h | 42 ++- winsup/doc/posix.xml | 94 +++--- 135 files changed, 5028 insertions(+), 1888 deletions(-) create mode 100644 newlib/libc/ctype/isalnum_l.c create mode 100644 newlib/libc/ctype/isalpha_l.c create mode 100644 newlib/libc/ctype/isascii_l.c create mode 100644 newlib/libc/ctype/isblank_l.c create mode 100644 newlib/libc/ctype/iscntrl_l.c create mode 100644 newlib/libc/ctype/isdigit_l.c create mode 100644 newlib/libc/ctype/islower_l.c create mode 100644 newlib/libc/ctype/isprint_l.c create mode 100644 newlib/libc/ctype/ispunct_l.c create mode 100644 newlib/libc/ctype/isspace_l.c create mode 100644 newlib/libc/ctype/isupper_l.c create mode 100644 newlib/libc/ctype/iswalnum_l.c create mode 100644 newlib/libc/ctype/iswalpha_l.c create mode 100644 newlib/libc/ctype/iswblank_l.c create mode 100644 newlib/libc/ctype/iswcntrl_l.c create mode 100644 newlib/libc/ctype/iswctype_l.c create mode 100644 newlib/libc/ctype/iswdigit_l.c create mode 100644 newlib/libc/ctype/iswgraph_l.c create mode 100644 newlib/libc/ctype/iswlower_l.c create mode 100644 newlib/libc/ctype/iswprint_l.c create mode 100644 newlib/libc/ctype/iswpunct_l.c create mode 100644 newlib/libc/ctype/iswspace_l.c create mode 100644 newlib/libc/ctype/iswupper_l.c create mode 100644 newlib/libc/ctype/iswxdigit_l.c create mode 100644 newlib/libc/ctype/isxdigit_l.c create mode 100644 newlib/libc/ctype/toascii_l.c create mode 100644 newlib/libc/ctype/tolower_l.c create mode 100644 newlib/libc/ctype/toupper_l.c create mode 100644 newlib/libc/ctype/towctrans_l.c create mode 100644 newlib/libc/ctype/towlower_l.c create mode 100644 newlib/libc/ctype/towupper_l.c create mode 100644 newlib/libc/ctype/wctrans_l.c create mode 100644 newlib/libc/ctype/wctype_l.c create mode 100644 newlib/libc/include/sys/_locale.h create mode 100644 newlib/libc/locale/duplocale.c delete mode 100644 newlib/libc/locale/fix_grouping.c create mode 100644 newlib/libc/locale/freelocale.c delete mode 100644 newlib/libc/locale/lctype.h delete mode 100644 newlib/libc/locale/ldpart.c delete mode 100644 newlib/libc/locale/ldpart.h delete mode 100644 newlib/libc/locale/lmessages.h delete mode 100644 newlib/libc/locale/lmonetary.h delete mode 100644 newlib/libc/locale/lnumeric.h create mode 100644 newlib/libc/locale/localeconv.c create mode 100644 newlib/libc/locale/newlocale.c delete mode 100644 newlib/libc/locale/timelocal.h create mode 100644 newlib/libc/locale/uselocale.c create mode 100644 newlib/libc/string/strcasecmp_l.c create mode 100644 newlib/libc/string/strcoll_l.c create mode 100644 newlib/libc/string/strncasecmp_l.c copy newlib/libc/string/{strxfrm.c => strxfrm_l.c} (62%) create mode 100644 newlib/libc/string/wcscasecmp_l.c create mode 100644 newlib/libc/string/wcscoll_l.c create mode 100644 newlib/libc/string/wcsncasecmp_l.c create mode 100644 newlib/libc/string/wcsxfrm_l.c