This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Cygwin: Export reallocarray
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 4 Apr 2017 10:25:54 -0000
- Subject: [newlib-cygwin] Cygwin: Export reallocarray
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=961a6909d950a0423d0e70e8a64187fb7d535c7d
commit 961a6909d950a0423d0e70e8a64187fb7d535c7d
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Tue Apr 4 12:23:18 2017 +0200
Cygwin: Export reallocarray
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/common.din | 1 +
winsup/cygwin/include/cygwin/version.h | 3 ++-
winsup/doc/posix.xml | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index 8e54a7d..6620700 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -1139,6 +1139,7 @@ readlink SIGFE
readlinkat SIGFE
readv SIGFE
realloc SIGFE
+reallocarray SIGFE
reallocf SIGFE
realpath SIGFE
recv = cygwin_recv SIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 4534326..7baca61 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -474,12 +474,13 @@ details. */
307: Export timingsafe_bcmp, timingsafe_memcmp.
308: Export dladdr.
309: Export getloadavg.
+ 310: Export reallocarray.
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 309
+#define CYGWIN_VERSION_API_MINOR 310
/* 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/doc/posix.xml b/winsup/doc/posix.xml
index a3b2e9f..5c9f656 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -1198,6 +1198,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
qsort_r (see chapter "Implementation Notes")
rcmd
rcmd_af
+ reallocarray
reallocf
res_close
res_init