Re: Python and Rust rewrites

2025-04-24 Thread Nikolaos Chatzikonstantinou
On Wed, Apr 16, 2025 at 12:17 PM Bruno Haible wrote: > > Nikolaos Chatzikonstantinou wrote: > > Thank you for the response. I should confess that I'm currently rewriting > > GNU m4 in Python, aiming for 100% compatibility with 1.4.19. I had the > > issue of implementing regexp() because Python doe

MinGW-w64 fenv changes.

2025-04-24 Thread Collin Funk
Hi Bruno, I was experimenting with Windows recently after the recent gperf thread. In a "MSYS2 MINGW64" window I found that a gnulib testdir of all modules fails to build due to the following assertion in fenv-env.c: verify (sizeof (fenv_t) >= sizeof (x86_387_fenv_t)); Upon investigating, I

new module 'modula2comp-script'

2025-04-24 Thread Bruno Haible via Gnulib discussion list
This module adds the basic infrastructure for building parts of a package with the GNU Modula-2 compiler. (Automake doesn't have support for this programming language yet.) 2025-04-24 Bruno Haible modula2comp-script: New module. * m4/modula2comp.m4: New file. * modules

Re: fbufmode: Don't require peeking into the FILE structure on recent Haiku

2025-04-24 Thread Collin Funk
Bruno Haible via Gnulib discussion list writes: > With this patch and the recent fixes on the Haiku side, gnulib should no > longer > need to peek into the FILE structure on recent Haiku versions. Thanks! I was going to check if something similar worked when I had a chance. Glad it does.

fbufmode: Don't require peeking into the FILE structure on recent Haiku

2025-04-24 Thread Bruno Haible via Gnulib discussion list
With this patch and the recent fixes on the Haiku side, gnulib should no longer need to peek into the FILE structure on recent Haiku versions. 2025-04-24 Bruno Haible fbufmode: Don't require peeking into the FILE structure on recent Haiku. Suggested by Augustin Cavalier

getlocalename_l-unsafe: Disable unwanted compiler optimization

2025-04-24 Thread Bruno Haible via Gnulib discussion list
On OpenBSD 7.6 I see this compiler warning: ../../../../gettext-runtime/intl/gnulib-lib/getlocalename_l-unsafe.c:337:7: warning: comparison of nonnull parameter 'locale' equal to a null pointer is 'false' on first encounter [-Wtautological-pointer-compare] if (locale == NULL) ^~~

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

2025-04-24 Thread Eric Blake
glibc already has support for \` and \' as absolute input boundaries, while ^ and $ are a bit more flexible (depending on RE_CONTEXT_INDEP_ANCHORS). Worse, ^ and $ are not portable across all regex flavors - there are languages where they match at any newline within the larger input, and where bli

Re: configure --enable-systemd

2025-04-24 Thread Pádraig Brady
On 24/04/2025 10:25, Bruno Haible via Gnulib discussion list wrote: When the option --enable-systemd was introduced in August 2023, it was experimental, because the code that uses it (readutmp in gnulib) was new and not widely tested. Things have changed now: Ubuntu 25.04 ships with no /var/run/u

configure --enable-systemd

2025-04-24 Thread Bruno Haible via Gnulib discussion list
When the option --enable-systemd was introduced in August 2023, it was experimental, because the code that uses it (readutmp in gnulib) was new and not widely tested. Things have changed now: Ubuntu 25.04 ships with no /var/run/utmp support and thus requires the use of the systemd libraries; withou

Re: tsearch tests: Disable tfind signature check on Cygwin.

2025-04-24 Thread Bruno Haible via Gnulib discussion list
Collin Funk wrote: > I have written to the Cygwin list in hopes they fix this > since it will cause annoying -Wdiscarded-qualifiers warnings in > applications that expect the POSIX prototype [1]. > > Pushed the attached patch to disable the signature check and document > the differing prototype.