Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog7
-rw-r--r--winsup/cygwin/cygwin.din4
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/include/inttypes.h7
-rw-r--r--winsup/cygwin/posix.sgml4
5 files changed, 17 insertions, 8 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 470afee6f..35f46785e 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-16 Corinna Vinschen <corinna@vinschen.de>
+
+ * cygwin.din: Export wcstoimax, wcstoumax.
+ * posix.sgml: Move wcstoimax and wcstoumax to SUSv4 section.
+ * include/inttypes.h: Declare wcstoimax and wcstoumax.
+ * include/cygwin/version.h: Bump API minor number.
+
2009-02-13 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export wcsnlen.
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index a9f4a5068..f38738f0d 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -1746,15 +1746,17 @@ wcsrchr NOSIGFE
wcsrtombs NOSIGFE
wcsspn NOSIGFE
wcsstr NOSIGFE
-wcstok NOSIGFE
wcstod NOSIGFE
wcstof NOSIGFE
+wcstoimax = wcstoll NOSIGFE
+wcstok NOSIGFE
wcstol NOSIGFE
wcstoll NOSIGFE
wcstombs NOSIGFE
_wcstombs = wcstombs NOSIGFE
wcstoul NOSIGFE
wcstoull NOSIGFE
+wcstoumax = wcstoull NOSIGFE
wcswidth NOSIGFE
wcsxfrm NOSIGFE
wctob NOSIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 4e411b2f9..b442770e2 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -345,12 +345,13 @@ details. */
194: fcntl.h flags O_DIRECTORY, O_EXEC and O_SEARCH added.
195: Export wcstod, wcstof.
196: Export wcsnlen.
+ 197: Export wcstoimax, wcstoumax.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 196
+#define CYGWIN_VERSION_API_MINOR 197
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible
diff --git a/winsup/cygwin/include/inttypes.h b/winsup/cygwin/include/inttypes.h
index beacba620..5cc31eb47 100644
--- a/winsup/cygwin/include/inttypes.h
+++ b/winsup/cygwin/include/inttypes.h
@@ -1,6 +1,6 @@
/* inttypes.h - fixed size integer types
- Copyright 2003 Red Hat, Inc.
+ Copyright 2003, 2009 Red Hat, Inc.
This file is part of Cygwin.
@@ -12,6 +12,8 @@ details. */
#define _INTTYPES_H
#include <stdint.h>
+#define __need_wchar_t
+#include <stddef.h>
/* fprintf() macros for signed integers */
@@ -234,11 +236,8 @@ intmax_t _EXFUN(imaxabs, (intmax_t));
imaxdiv_t _EXFUN(imaxdiv, (intmax_t, intmax_t));
intmax_t _EXFUN(strtoimax, (const char *, char **, int));
uintmax_t _EXFUN(strtoumax, (const char *, char **, int));
-
-#if 0 /* Not yet defined */
intmax_t _EXFUN(wcstoimax, (const wchar_t *, wchar_t **, int));
uintmax_t _EXFUN(wcstoumax, (const wchar_t *, wchar_t **, int));
-#endif
#ifdef __cplusplus
}
diff --git a/winsup/cygwin/posix.sgml b/winsup/cygwin/posix.sgml
index 4b5f714b1..d2a5100f5 100644
--- a/winsup/cygwin/posix.sgml
+++ b/winsup/cygwin/posix.sgml
@@ -827,12 +827,14 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
wcsstr
wcstod
wcstof
+ wcstoimax
wcstok
wcstol
wcstoll
wcstombs
wcstoul
wcstoull
+ wcstoumax
wcswidth
wcsxfrm
wctob
@@ -1338,9 +1340,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
wcsncasecmp
wcsncasecmp_l
wcsnrtombs
- wcstoimax
wcstold
- wcstoumax
wcsxfrm_l
wctrans_l
wctype_l