Re: [PATCH v3 6/6] cygwin.din, version.h: Add stdbit.h functions and increment minor

Corinna Vinschen <[email protected]> Fri, 17 Apr 2026 13:56:38 +0200
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Close enough ;)

On Apr 16 16:00, Joel Sherrill wrote:
> Incremented CYGWIN_VERSION_DLL_MINOR to 1 after adding C23 stdc_*
> functions from stdbit.h.
> ---
>  winsup/cygwin/cygwin.din               | 70 ++++++++++++++++++++++++++
>  winsup/cygwin/include/cygwin/version.h |  2 +-
>  2 files changed, 71 insertions(+), 1 deletion(-)
> 
> diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
> index 76477bb4a..caa9a3987 100644
> --- a/winsup/cygwin/cygwin.din
> +++ b/winsup/cygwin/cygwin.din
> @@ -1458,6 +1458,76 @@ sscanf SIGFE
>  stat SIGFE
>  statfs SIGFE
>  statvfs SIGFE
> +stdc_bit_ceil_uc NOSIGFPE

s/NOSIGFPE/NOSIGFE/

> diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
> index 695477bec..67eb23d06 100644
> --- a/winsup/cygwin/include/cygwin/version.h
> +++ b/winsup/cygwin/include/cygwin/version.h
> @@ -11,7 +11,7 @@ details. */
>     changes to the DLL and is mainly informative in nature. */
>  
>  #define CYGWIN_VERSION_DLL_MAJOR 3007
> -#define CYGWIN_VERSION_DLL_MINOR 0
> +#define CYGWIN_VERSION_DLL_MINOR 1

This should change CYGWIN_VERSION_API_MINOR, not CYGWIN_VERSION_DLL_MINOR.

I fixed that locally, and it builds fine.


Thanks,
Corinna