From 2ea3993619206a8f87593d35f2e823223793be0d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 23 Aug 2016 17:50:21 +0200 Subject: [PATCH] Export and document strerror_l, strptime_l, wcsftime_l from Cygwin Bump Cygwin API minor number. Signed-off-by: Corinna Vinschen --- winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/release/2.6.0 | 12 ++++++------ winsup/doc/new-features.xml | 10 +++++----- winsup/doc/posix.xml | 3 +++ 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index a1b8a6219..820d28b92 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -468,12 +468,13 @@ details. */ wcstoul_l, wcstoull_l. 302: Export nl_langinfo_l. 303: Export pthread_getname_np, pthread_setname_np. + 304: Export strerror_l, strptime_l, wcsftime_l. Note that we forgot to bump the api for ualarm, strtoll, strtoull, sigaltstack, sethostname. */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 303 +#define CYGWIN_VERSION_API_MINOR 304 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible changes are made to the shared diff --git a/winsup/cygwin/release/2.6.0 b/winsup/cygwin/release/2.6.0 index 825545095..aa257966b 100644 --- a/winsup/cygwin/release/2.6.0 +++ b/winsup/cygwin/release/2.6.0 @@ -9,13 +9,13 @@ What's new: iswalpha_l, iswblank_l, iswcntrl_l, iswctype_l, iswdigit_l, iswgraph_l, iswlower_l, iswprint_l, iswpunct_l, iswspace_l, iswupper_l, iswxdigit_l, isxdigit_l, tolower_l, toupper_l, towctrans_l, towlower_l, towupper_l, - wctrans_l, wctype_l, strcasecmp_l, strcoll_l, strfmon_l, strftime_l, - strncasecmp_l, strxfrm_l, wcscasecmp_l, wcscoll_l, wcstrncasecmp_l, - wcstrxfrm_l. + wctrans_l, wctype_l, strcasecmp_l, strcoll_l, strerror_l, strfmon_l, + strftime_l, strncasecmp_l, strxfrm_l, wcscasecmp_l, wcscoll_l, + wcstrncasecmp_l, wcstrxfrm_l. - New API, GNU extensions: isascii_l, toascii_l, strtod_l, strtof_l, strtol_l, - strtold_l, strtoll_l, strtoul_l, strtoull_l, wcstod_l, wcstof_l, wcstol_l, - wcstold_l, wcstoll_l, wcstoul_l, wcstoull_l. + New API, GNU extensions: isascii_l, toascii_l, strptime_l, strtod_l, + strtof_l, strtol_l, strtold_l, strtoll_l, strtoul_l, strtoull_l, wcsftime_l, + wcstod_l, wcstof_l, wcstol_l, wcstold_l, wcstoll_l, wcstoul_l, wcstoull_l. - locale(1) now supports a -i/--input option to fetch the current input locale (this is basically equivalent to the current keyboard layout setting). diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index 7e39316d2..edd14664d 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -19,15 +19,15 @@ isgraph_l, islower_l, isprint_l, ispunct_l, isspace_l, isupper_l, iswalnum_l, iswalpha_l, iswblank_l, iswcntrl_l, iswctype_l, iswdigit_l, iswgraph_l, iswlower_l, iswprint_l, iswpunct_l, iswspace_l, iswupper_l, iswxdigit_l, isxdigit_l, tolower_l, toupper_l, towctrans_l, towlower_l, towupper_l, -wctrans_l, wctype_l, strcasecmp_l, strcoll_l, strfmon_l, strftime_l, -strncasecmp_l, strxfrm_l, wcscasecmp_l, wcscoll_l, wcstrncasecmp_l, +wctrans_l, wctype_l, strcasecmp_l, strcoll_l, strerror_l, strfmon_l, +strftime_l, strncasecmp_l, strxfrm_l, wcscasecmp_l, wcscoll_l, wcstrncasecmp_l, wcstrxfrm_l. -New API, GNU extensions: isascii_l, toascii_l, strtod_l, strtof_l, strtol_l, -strtold_l, strtoll_l, strtoul_l, strtoull_l, wcstod_l, wcstof_l, wcstol_l, -wcstold_l, wcstoll_l, wcstoul_l, wcstoull_l. +New API, GNU extensions: isascii_l, toascii_l, strptime_l, strtod_l, strtof_l, +strtol_l, strtold_l, strtoll_l, strtoul_l, strtoull_l, wcsftime_l, wcstod_l, +wcstof_l, wcstol_l, wcstold_l, wcstoll_l, wcstoul_l, wcstoull_l. diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index babf11573..e80da4d0d 100644 --- a/winsup/doc/posix.xml +++ b/winsup/doc/posix.xml @@ -924,6 +924,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008). strcspn strdup strerror + strerror_l strerror_r strfmon strfmon_l @@ -1353,6 +1354,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008). sincosf sincosl strchrnul + strptime_l strtod_l strtof_l strtol_l @@ -1370,6 +1372,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008). vasnprintf vasprintf vasprintf_r + wcsftime_l wcstod_l wcstof_l wcstol_l