Reported by Collin Funk.
* lib/mbrtowc.c (rpl_mbrtowc): Enclose the #include in a block.
* lib/mbrtoc32.c (mbrtoc32): Likewise.
+2026-04-06 Bruno Haible <bruno@clisp.org>
+
+ mbrtowc, mbrtoc32: Silence -Wshadow warnings (regr. 2026-04-02).
+ Reported by Collin Funk.
+ * lib/mbrtowc.c (rpl_mbrtowc): Enclose the #include in a block.
+ * lib/mbrtoc32.c (mbrtoc32): Likewise.
+
2026-04-05 Paul Eggert <eggert@cs.ucla.edu>
term-style-control: use pthread_sigmask
/* Here m > 0. */
int res;
-
+ {
# define FITS_IN_CHAR_TYPE(wc) 1
# include "mbrtowc-impl-utf8.h"
+ }
success:
/* res >= 0 is the corrected return value of
/* Here m > 0. */
int res;
-
+ {
# define FITS_IN_CHAR_TYPE(wc) ((wc) <= WCHAR_MAX)
# include "mbrtowc-impl-utf8.h"
+ }
success:
/* res >= 0 is the corrected return value of