Re: timespec_get: port to Ubuntu 23.04

2023-07-28 Thread Bruno Haible
Hi Paul, > > Do you remember how the user was supposed to determine > > which modules from time.in.h he needs to import? > > How did the GNULIB_PORTCHECK > > macro help doing that (or was supposed to help doing that)? > > This is all old history and I had to look into the archives to refresh > m

fnmatch: Ensure that on Cygwin ≥ 3.5.0, Cygwin's native fnmatch is used

2023-07-28 Thread Bruno Haible
In the forthcoming Cygwin 3.5.0, the fnmatch() function is greatly improved, implementing not only character classes and support for all Unicode characters (like Gnulib's fnmatch() now has), but also equivalence classes and collating symbols. So, in this situation, programs that don't request the m

Re: timespec_get: port to Ubuntu 23.04

2023-07-28 Thread Paul Eggert
On 2023-07-28 08:06, Bruno Haible wrote: Do you remember how the user was supposed to determine which modules from time.in.h he needs to import? How did the GNULIB_PORTCHECK macro help doing that (or was supposed to help doing that)? This is all old history and I had to look into the archives t

Re: timespec_get: port to Ubuntu 23.04

2023-07-28 Thread Bruno Haible
Paul Eggert wrote: > > Is something wrong with the m4/time_h.m4 idioms? What was the recipe to > > reproduce a bug here? > > Here's a recipe: > >git clone https://git.savannah.gnu.org/git/diffutils.git >cd diffutils >git checkout 25594ef0d9cda37835499e637a8ec35126aecf72 >./bootstr

posixcheck: Fix dependencies

2023-07-28 Thread Bruno Haible
The 'posixcheck' module needs to depend on all modules that use _GL_WARN_ON_USE. We haven't updated it in a long time. 2023-07-28 Bruno Haible posixcheck: Fix dependencies. * modules/posixcheck (Depends-on): Add malloc-h, pthread-h, sched, sys_random, threads-h, uchar,

uchar: Include the necessary snippets

2023-07-28 Thread Bruno Haible
uchar.in.h uses _GL_ARG_NONNULL and _GL_WARN_ON_USE. Therefore it needs the corresponding snippets. If this has not caused a problem so far, it's likely because uchar.h includes wchar.h, and the latter has the snippets. 2023-07-28 Bruno Haible uchar: Include the necessary snippets.

mbmemcasecmp, mbmemcasecoll: Avoid test failure on MSVC

2023-07-28 Thread Bruno Haible
This patch avoids two long-standing test failures on MSVC. 2023-07-28 Bruno Haible mbmemcasecmp, mbmemcasecoll: Avoid test failure on MSVC. * tests/test-mbmemcasecmp.h (test_utf_8): Disable two tests on platforms that don't have the upper/lower mappings for 'ü'/'Ü'.