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:
authorCorinna Vinschen <corinna@vinschen.de>2005-06-10 16:11:35 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-06-10 16:11:35 +0400
commit5680109cf6c4bb908a0a9fc34558d6485e2c226c (patch)
tree7221bdb9ea660e35e08fe2950fb7d52b208b539b
parent1b96f7da4592061bffad3e45181b3fd381c40079 (diff)
* cygwin.din (imaxabs): Export.
(imaxdiv): Export. (llabs): Export. (lldiv): Export. (strtoimax): Export. (strtoumax): Export. * include/inttypes.h (imaxabs): Activate declaration. (imaxdiv): Ditto. (strtoimax): Ditto. (strtoumax): Ditto. * include/cygwin/version.h: Bump API minor.
-rw-r--r--winsup/cygwin/ChangeLog14
-rw-r--r--winsup/cygwin/cygwin.din6
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/include/inttypes.h3
4 files changed, 24 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 799e17446..6f1d16a4f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,17 @@
+2005-06-10 Corinna Vinschen <corinna@vinschen.de>
+
+ * cygwin.din (imaxabs): Export.
+ (imaxdiv): Export.
+ (llabs): Export.
+ (lldiv): Export.
+ (strtoimax): Export.
+ (strtoumax): Export.
+ * include/inttypes.h (imaxabs): Activate declaration.
+ (imaxdiv): Ditto.
+ (strtoimax): Ditto.
+ (strtoumax): Ditto.
+ * include/cygwin/version.h: Bump API minor.
+
2005-06-09 Christopher Faylor <cgf@timesys.com>
* cygthread.cc (cygthread::detach): Improve diagnostics for what should
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index 38786e392..22caf377b 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -726,6 +726,8 @@ ilogb NOSIGFE
_ilogb = ilogb NOSIGFE
ilogbf NOSIGFE
_ilogbf = ilogbf NOSIGFE
+imaxabs = llabs NOSIGFE
+imaxdiv = lldiv NOSIGFE
index NOSIGFE
_index = index NOSIGFE
inet_makeaddr NOSIGFE
@@ -835,6 +837,8 @@ lgammaf_r NOSIGFE
_lgammaf_r = lgammaf_r NOSIGFE
link SIGFE
_link = link SIGFE
+llabs NOSIGFE
+lldiv NOSIGFE
localeconv NOSIGFE
_localeconv = localeconv NOSIGFE
localtime SIGFE
@@ -1383,11 +1387,13 @@ strtol NOSIGFE
_strtol = strtol NOSIGFE
strtoll NOSIGFE
_strtoll = strtoll NOSIGFE
+strtoimax = strtoll NOSIGFE
strtosigno NOSIGFE
strtoul NOSIGFE
_strtoul = strtoul NOSIGFE
strtoull NOSIGFE
_strtoull = strtoull NOSIGFE
+strtoumax = strtoull NOSIGFE
strupr NOSIGFE
_strupr = strupr NOSIGFE
strxfrm NOSIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index be1f9b426..3046c2104 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -256,12 +256,13 @@ details. */
127: Export sigrelese.
128: Export pselect.
129: Export mkdtemp.
+ 130: Export strtoimax, strtoumax, llabs, imaxabs, lldiv, imaxdiv.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 129
+#define CYGWIN_VERSION_API_MINOR 130
/* 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 1d0410ad8..beacba620 100644
--- a/winsup/cygwin/include/inttypes.h
+++ b/winsup/cygwin/include/inttypes.h
@@ -230,11 +230,12 @@ typedef struct {
intmax_t rem;
} imaxdiv_t;
-#if 0 /* Not yet defined */
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