From 5680109cf6c4bb908a0a9fc34558d6485e2c226c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 10 Jun 2005 12:11:35 +0000 Subject: [PATCH] * 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. --- winsup/cygwin/ChangeLog | 14 ++++++++++++++ winsup/cygwin/cygwin.din | 6 ++++++ winsup/cygwin/include/cygwin/version.h | 3 ++- winsup/cygwin/include/inttypes.h | 3 ++- 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 + + * 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 * 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