doc: Document the *-ieee modules

2024-12-25 Thread Bruno Haible via Gnulib discussion list
This patch documents the *-ieee modules. 2024-12-26 Bruno Haible doc: Document the *-ieee modules. * doc/posix-functions/cbrt.texi: Mention the cbrt-ieee module. * doc/posix-functions/cbrtf.texi: Mention the cbrtf-ieee module. * doc/posix-functions/exp.texi: Me

_gl_unregister_fd not declared in certain occasions

2024-12-25 Thread Daiki Ueno
Hello, When trying to update Gnulib submodule in GnuTLS, I came across this error: close.c: In function 'rpl_close': close.c:71:5: error: implicit declaration of function '_gl_unregister_fd' [-Wimplicit-function-declaration] 71 | _gl_unregister_fd (fd); | ^~~

Document the *zprintf functions

2024-12-25 Thread Bruno Haible via Gnulib discussion list
This patch completes the *zprintf feature, by adding documentation. 2024-12-25 Bruno Haible Document the *zprintf functions. * doc/zprintf.texi: New file. * doc/gnulib.texi (Particular Modules): Include it. diff --git a/doc/gnulib.texi b/doc/gnulib.texi index b7a6110b

Re: [PATCH 2/2] stdlib: fix MB_CUR_MAX on older Android

2024-12-25 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > +[AC_LINK_IFELSE( > + [AC_LANG_PROGRAM([[#include > + ]], > + [[return !!MB_CUR_MAX;]])], > + [dnl Initial guess, used when cross-compiling or when no suitable locale With only 1 column of indentation, I have a hard time u

Re: reviewing patches

2024-12-25 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > Thanks, my earlier patch had that limited indentation only to make its > diff easier to review (since it kept the existing physical indentation > while increasing logical indentation). While this is a consideration in projects which review patches before they are committed (

Re: supporting in the UTF-8 environment on native Windows

2024-12-25 Thread Lasse Collin
On 2024-12-24 Bruno Haible wrote: > Lasse Collin wrote: > > (1) > > In 9f7ff4f423cd ("localename-unsafe: Support the UTF-8 environment > > on native Windows."), the N(name) macro is used with strings that > > include @modifier. For example, N("az_AZ@cyrillic") can expand to > > "az...@cyrillic.utf-

Re: supporting in the UTF-8 environment on native Windows

2024-12-25 Thread Bruno Haible via Gnulib discussion list
Lasse Collin wrote: > Thanks. Isn't there a similar issue in setlocale.c after the commit > 00211fc69c92? > > /* llCC_buf now contains >language[_territory][@modifier] >*/ > if (strcmp (llCC_buf, locale) != 0) > { > if (is_utf8) > { >

xprintf, xprintf-posix, xprintf-gnu: Use *zprintf

2024-12-25 Thread Bruno Haible via Gnulib discussion list
The *zprintf patches from end of June 2024 are not yet complete. The only remaining modules with *printf functions which have an 'int' return type are xprintf, xprintf-posix, xprintf-gnu. It appears from looking at the code that invokes the functions x[v][f]printf (cf. maint-tools/code-search.tx

Re: [PATCH 2/2] stdlib: fix MB_CUR_MAX on older Android

2024-12-25 Thread Paul Eggert
On 2024-12-25 06:17, Bruno Haible wrote: Paul Eggert wrote: +[AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[#include + ]], + [[return !!MB_CUR_MAX;]])], + [dnl Initial guess, used when cross-compiling or when no suitable locale With only 1 column o