Re: [PATCH 3/4] largefile: sync from Autoconf master

2023-04-09 Thread Bruno Haible
Paul Eggert wrote: > +@code{year2038-required} and @code{year-2038}: There's a typo in this line. Fixed: 2023-04-09 Bruno Haible doc: Fix a typo. * doc/posix-headers/time.texi: Fix typo in module name. diff --git a/doc/posix-headers/time.texi b/doc/posix-headers/time.texi in

[PATCH 3/4] largefile: sync from Autoconf master

2023-04-09 Thread Paul Eggert
* modules/largefile-required, modules/year2038-required: New modules. * MODULES.html.sh, doc/largefile.texi, doc/posix-headers/time.texi: * doc/year2038.texi: Document this. * m4/largefile.m4: Sync from Autoconf master. Conditionalize the workaround on AC_SYS_LARGEFILE_REQUIRED rather than on AC_SY

[PATCH 4/4] doc: improve cross-refs for year 2038 issue

2023-04-09 Thread Paul Eggert
--- ChangeLog| 9 +++-- doc/posix-functions/aio_cancel.texi | 7 +++ doc/posix-functions/aio_error.texi | 7 +++ doc/posix-functions/aio_fsync.texi | 7 +++ doc/posix-functions/aio_read.texi| 7 +++ doc/posix-functio

[PATCH 2/4] year2038: configure earlier

2023-04-09 Thread Paul Eggert
* modules/year2038: Put AC_SYS_YEAR2038 in configure.ac-early since it can affect CPPFLAGS with _TIME_BITS=64. --- ChangeLog| 6 ++ modules/year2038 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 30aafccaed..bb49b16cf0 100644 --- a/Cha

[PATCH 1/4] maint: no Autoconf 2.72

2023-04-09 Thread Paul Eggert
Rewrite commentary to not mention Autoconf 2.72, as the plan is to jump from 2.71 to 2.73 with no 2.72. Leave code uses of ‘m4_version_prereq([2.72], ...)’ alone, though as they’re still correct for Autoconf released versions and will help test Autoconf release candidates. --- ChangeLog | 6

new modules c32tolower, c32toupper

2023-04-09 Thread Bruno Haible
The function mbrtoc32 transforms a multibyte character to a char32_t, thus solving the "wchar_t mess", explained in https://www.gnu.org/software/libunistring/manual/html_node/The-wchar_005ft-mess.html . But while ISO C 11..23 has upper/lowercase mapping functions for wchar_t (towlower, towupper),

c32is*: Ensure GNULIB_defined_mbstate_t is defined on AIX

2023-04-09 Thread Bruno Haible
On AIX, I noticed that GNULIB_defined_mbstate_t gets defined to 1 by the mbrtowc module, but when I compile the c32is* modules standalone, it does not get defined. However, the implementation of these modules depends on GNULIB_defined_mbstate_t, to ensure consistency with mbrtoc32 and mbrtowc. Thi

doc: Mention a NetBSD bug

2023-04-09 Thread Bruno Haible
One of the NetBSD locales is pretty broken. I've reported it to the NetBSD people. I'm not adding a workaround to gnulib, since the number of users of this NetBSD locale is probably very small. 2023-04-09 Bruno Haible doc: Mention a NetBSD bug. * doc/posix-functions/towlower.t

Re: vasnwprintf-posix: Work around %La bug in glibc 2.15 and Haiku

2023-04-09 Thread Bruno Haible
I wrote: > On the glibc side, the bug is fixed in glibc 2.17 and newer. The Haiku people found out more details about this bug. In particular, it's fixed in glibc 2.16 already. 2023-04-09 Bruno Haible vasnwprintf-posix: More details about the glibc bug. * doc/posix-functions/