Re: [PATCH] errno: make EEXIST != ENOTEMPTY on AIX

2024-08-07 Thread Bruno Haible
Hi Paul, > +2024-07-31 Paul Eggert > + > + errno: make EEXIST != ENOTEMPTY on AIX > + ... > + * tests/test-errno.c (e1, ..., e131): Remove, replacing with ... > + (CHECK_POSIX_ERRNOS, POSITIVE_INTEGER_CONSTANT_EXPRESSION) > + (INDEXED_BY_ERRNO, ERRNO_COUNT): These new macros

fchmodat: Fix cross-compilation guess

2024-08-07 Thread Bruno Haible
When checking a $host_os, it's better to allow a kernel version number than not. 2024-08-07 Bruno Haible fchmodat: Fix cross-compilation guess. * m4/fchmodat.m4 (gl_FUNC_FCHMODAT): Tolerate Linux version number in $host_os. diff --git a/m4/fchmodat.m4 b/m4/fchmodat.m4

Re: [PATCH] errno: make EEXIST != ENOTEMPTY on AIX

2024-08-07 Thread Paul Eggert
On 2024-08-07 02:58, Bruno Haible wrote: Did it possibly embody the assumption that errno values are small integers or all near together? Yes it did. My preference for static checking went overboard, it seems. I installed the attached, which I hope fixes it.From 37fcd9c9d822150f807211de0fec6c7

Re: [PATCH] errno: make EEXIST != ENOTEMPTY on AIX

2024-08-07 Thread Bruno Haible
Hi Paul, > > Did it possibly embody the > > assumption that errno values are small integers or all near together? > > Yes it did. My preference for static checking went overboard, it seems. > I installed the attached, which I hope fixes it. Yes, it fixes it. Thanks. 'test-errno' links fine, suc

Re: test-pthread-rwlock failure on Pop!_OS 22.04 LTS

2024-08-07 Thread Bruno Haible
On 2024-07-07, I stated: > This provides enough justification for gnulib to override the glibc behaviour > here. I will therefore go ahead and override > PTHREAD_RWLOCK_INITIALIZER > pthread_rwlock_init > pthread_rwlock_attr_init > to use PREFER_WRITER or PREFER_WRITER_NONRECURSIVE, which bot

Re: TODO lists regarding POSIX:2024 work

2024-08-07 Thread Bruno Haible
I wrote: > There are many changes in POSIX:2024 that can have an impact on Gnulib; Some (biased) summary of the changes can be found here: https://sortix.org/blog/posix-2024/

Avoid compiler warnings in some configure tests

2024-08-07 Thread Bruno Haible
In some config.log I was seeing this warning: configure:24322: checking for pthread_mutex_timedlock configure:24346: gcc -o conftest -g -O2 -I/inst-x86_64-64/include -Wall -L/inst-x86_64-64/lib conftest.c >&5 conftest.c: In function 'main': conftest.c:149:25: warning: argument 2 null where non-

doc: Update for OpenBSD 7.5

2024-08-07 Thread Bruno Haible
This patch updates the doc regarding OpenBSD 7.5. This version now has - the header file , - the functions mbrtoc16, mbrtoc32, c16rtomb, c32rtomb, waitid. 2024-08-07 Bruno Haible doc: Update for OpenBSD 7.5. * doc/posix-headers/*.texi: Update. * doc/glibc-headers/*

Re: math: Fix INFINITY and NAN on FreeBSD and AIX

2024-08-07 Thread Bruno Haible
And on mingw 5.0, I see this test failure: FAIL: test-math === ../../gltests/test-math.c:103: assertion 'sizeof (INFINITY) == sizeof (float)' failed FAIL test-math.exe (exit status: 3) And once this is fixed, likewise for NAN. This patch fixes it. 2024-08-07 Bruno Haible