doc: Update documentation for 'open' errno discrepancies.

2025-05-02 Thread Collin Funk
In 2014, Paul updated the documentation for 'open' to mention that NetBSD and FreeBSD set errno differently than specified by POSIX for: open ("symlink", O_NOFOLLOW ...) Today, I found that git's test suite failed on NetBSD 10.0 because of this [1]. And just confirmed this is still the case o

Re: [PATCH] regex: Add \A and \z synonyms to \` and \'

2025-05-02 Thread Collin Funk
Hi Paul, Paul Eggert writes: >> If POSIX were to try to standardize \` and \' instead of \A and \z, it >> would have the benefit of existing practice (glibc) > > Not just glibc. A quick search shows that FreeBSD[1] and Boost[2][3] > both support \`...\' in POSIX-style BREs and EREs, as an extens

Re: vc-mtime: Add API for more efficient use of git

2025-05-02 Thread Bruno Haible via Gnulib discussion list
> There are a number of complications, though, that need careful workarounds: Another complication is that the 'git diff' option --no-relative, that we need to use with git version >= 2.28, did not exist in versions < 2.28. Here's a workaround: 2025-05-02 Bruno Haible vc-mtime: Make

Re: Improving support for find_shared_library_fullname (module 'relocatable')

2025-05-02 Thread Reuben Thomas
On Fri, 2 May 2025 at 02:30, Bruno Haible wrote: > > Indeed, dladdr sounds like it might well work. It's even in POSIX:2024 [1]. > > According to gnulib's symbol database, dladdr is > - in libc on musl, macOS, FreeBSD, NetBSD, OpenBSD, Solaris, Cygwin, > Minix, > - in libdl on Linux/glibc, Hu