[PATCH] cygwin: Export explicit_bzero

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Aug 6 21:46:00 GMT 2017


On Aug  2 01:11, Yaakov Selkowitz wrote:
> This was added to newlib together with timingsafe_*cmp but never exported.
> 
> Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
> ---
>  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 08baa9e07..73e676841 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 bbb632626..ce548b13a 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 bc506434f..5ce5988bc 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
> -- 
> 2.13.2

Yep, please push (and update release info).


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20170806/80e2a52f/attachment.sig>


More information about the Cygwin-patches mailing list