Implement missing POSIX function nl_langinfo_l

Change nl_langinfo to nl_langinfo_l using locale given as argument.
Remove outdated TRANSITION_PERIOD_HACK.  The codeset is stored in
the locale for quite some time now.  For !MB_CAPABLE targets, just
return "US_ASCII" as codeset.

Implement nl_langinfo by calling nl_langinfo_l.  Export nl_langinfo_l
from Cygwin DLL and bump minor API version number.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2016-08-20 17:22:41 +02:00
parent 7630e38462
commit 216054fa77
4 changed files with 61 additions and 94 deletions

View File

@@ -939,6 +939,7 @@ nexttowardl NOSIGFE
nftw SIGFE
nice SIGFE
nl_langinfo SIGFE
nl_langinfo_l SIGFE
nrand48 NOSIGFE
ntohl NOSIGFE
ntohs NOSIGFE