https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2c83bc950fec04feb76a018a994598deb3787256
commit 2c83bc950fec04feb76a018a994598deb3787256 Author: Yaakov Selkowitz <yselk...@redhat.com> Date: Wed Aug 2 01:09:49 2017 -0500 cygwin: Export explicit_bzero This was added to newlib together with timingsafe_*cmp but never exported. Signed-off-by: Yaakov Selkowitz <yselk...@redhat.com> 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 08baa9e..73e6768 100644 --- a/winsup/cygwin/common.din +++ b/winsup/cygwin/common.din @@ -433,6 +433,7 @@ exp2f NOSIGFE exp2l NOSIGFE expf NOSIGFE expl NOSIGFE +explicit_bzero NOSIGFE expm1 NOSIGFE expm1f NOSIGFE expm1l NOSIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index bbb6326..ce548b1 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -478,12 +478,13 @@ details. */ 311: Export __xpg_sigpause. 312: Export strverscmp, versionsort. 313: Export fls, flsl, flsll. + 314: Export explicit_bzero. 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 313 +#define CYGWIN_VERSION_API_MINOR 314 /* 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 bc50643..5ce5988 100644 --- a/winsup/doc/posix.xml +++ b/winsup/doc/posix.xml @@ -1139,6 +1139,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> endusershell err errx + explicit_bzero feof_unlocked ferror_unlocked fflush_unlocked