aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-07-22 22:54:07 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-08-15 10:56:57 +0200
commitaefd8b5b518b958f64506a6f74aeffb4f47bde8a (patch)
tree2eb483eb3ab883d1426e7783d8eb322bb66c7952 /winsup
parentd4f6cae9cd526290bfa2a0be7d3dc9fd20f31dba (diff)
downloadnewlib-aefd8b5b518b958f64506a6f74aeffb4f47bde8a.zip
newlib-aefd8b5b518b958f64506a6f74aeffb4f47bde8a.tar.gz
newlib-aefd8b5b518b958f64506a6f74aeffb4f47bde8a.tar.bz2
Implement newlocale, freelocale, duplocale, uselocale
Add global const __C_locale for reference purposes. Bump Cygwin API minor number and DLL major version number to 2.6.0. Signed-off by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/common.din4
-rw-r--r--winsup/cygwin/include/cygwin/version.h7
2 files changed, 8 insertions, 3 deletions
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index acb3fab..0660a38 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -381,6 +381,7 @@ dreml= remainderl NOSIGFE
dup SIGFE
dup2 SIGFE
dup3 SIGFE
+duplocale SIGFE
eaccess = euidaccess SIGFE
ecvt SIGFE
ecvtbuf SIGFE
@@ -536,6 +537,7 @@ fread_unlocked SIGFE
free SIGFE
freeaddrinfo = cygwin_freeaddrinfo SIGFE
freeifaddrs SIGFE
+freelocale SIGFE
fremovexattr SIGFE
freopen SIGFE
frexp NOSIGFE
@@ -900,6 +902,7 @@ nanosleep SIGFE
nearbyint NOSIGFE
nearbyintf NOSIGFE
nearbyintl NOSIGFE
+newlocale SIGFE
nextafter NOSIGFE
nextafterf NOSIGFE
nextafterl NOSIGFE
@@ -1417,6 +1420,7 @@ unlockpt NOSIGFE
unsetenv SIGFE
updwtmp SIGFE
updwtmpx SIGFE
+uselocale SIGFE
usleep SIGFE
utime SIGFE
utimensat SIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 1f5bf72..9ae5983 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -10,8 +10,8 @@ details. */
the Cygwin shared library". This version is used to track important
changes to the DLL and is mainly informative in nature. */
-#define CYGWIN_VERSION_DLL_MAJOR 2005
-#define CYGWIN_VERSION_DLL_MINOR 3
+#define CYGWIN_VERSION_DLL_MAJOR 2006
+#define CYGWIN_VERSION_DLL_MINOR 0
/* Major numbers before CYGWIN_VERSION_DLL_EPOCH are incompatible. */
@@ -454,12 +454,13 @@ details. */
nexttowardf, nexttowardl, pow10l, powl, remainderl, remquol, roundl,
scalbl, scalblnl, scalbnl, sincosl, sinhl, sinl, tanhl, tanl,
tgammal, truncl.
+ 298: newlocale, freelocale, duplocale, uselocale.
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 297
+#define CYGWIN_VERSION_API_MINOR 298
/* There is also a compatibity version number associated with the shared memory
regions. It is incremented when incompatible changes are made to the shared