[PATCH] fcntl-h: port better to musl on GNU/Linux

2025-01-08 Thread Paul Eggert
* lib/fcntl.in.h (O_SEARCH): Redefine to O_RDONLY on musl, which mistakenly defines it to be O_PATH on GNU/Linux. Problem reported by Lasse Collin in: https://bugs.gnu.org/75405 --- ChangeLog | 8 lib/fcntl.in.h | 6 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git

sys_select-h: Update for POSIX:2024

2025-01-08 Thread Bruno Haible via Gnulib discussion list
POSIX:2024 specifies a small change in : 2025-01-08 Bruno Haible sys_select-h: Update for POSIX:2024. * lib/sys_select.in.h (rpl_fd_isset): Change type of second parameter to 'const fd_set *'

pselect: Document this module

2025-01-08 Thread Bruno Haible via Gnulib discussion list
The module 'pselect' was added in 2011, but never documented. 2025-01-08 Bruno Haible pselect: Document this module. * doc/posix-functions/pselect.texi: Document module 'pselect'. diff --git a/doc/posix-functions/pselect.texi b/doc/posix-functions/pselect.texi index c0a48af07

Re: sys_select-h: Update for POSIX:2024

2025-01-08 Thread Bruno Haible via Gnulib discussion list
> * tests/test-sys_select-h.c: Check for some more types and for > FD_SETSIZE. > (FD_ISSET): Expect type of second parameter to be 'const fd_set *'. This led to a compilation error on native Windows. Fixed as follows: 2025-01-08 Bruno Haible sys_select-h: Define sus

Re: [PATCH] fcntl-h: port better to musl on GNU/Linux

2025-01-08 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > * lib/fcntl.in.h (O_SEARCH): Redefine to O_RDONLY on musl, > which mistakenly defines it to be O_PATH on GNU/Linux. > Problem reported by Lasse Collin in: > https://bugs.gnu.org/75405 Let me document it: 2025-01-08 Bruno Haible doc: Document the previous change.