This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] cygwin: Export explicit_bzero


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]