That was my mistake, missed an r in there which also means there is no
gnulib module for strrpbrk or strrcspn. This was used for
the LAST_SLASH_IN_PATH macro I added. I temporarily just added a static
implementation to the header along the lines of:
```
static const char* strrpbrk(const char* s,
Sorry I try to keep up on the mailing list but missed this. I have been
reformatting some of my patches for official submission later this month
but I also handled many of these cases:
https://github.com/mitchcapper/gnulib/compare/master...ours_win_fsusage_fixes?w=1#diff-7e2438152a60cd739a4b33b780
I'm trying to use module 'getopt-gnu' in a C++ program that has a global
variable named 'option'. There are compilation errors due to confusion
between 'option' and 'rpl_option'.
Our usual replacement technique
#define foo rpl_foo
is usually fine for functions names, because hardly any program h
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 doesn't have that syntax. I
> wrote a shim for regcomp() but then I
On Wed, Apr 16, 2025 at 05:45:46PM +0200, Bruno Haible wrote:
> Eric Blake wrote:
> > If you want a quicker table, I can attempt to provide one (note that
> > POSIX BRE do not actually have to support \+ \? or \|; but glibc and
> > gnulib's implementation does):
> >
> >feature 0-or-more 1-or
Eric Blake wrote:
> If you want a quicker table, I can attempt to provide one (note that
> POSIX BRE do not actually have to support \+ \? or \|; but glibc and
> gnulib's implementation does):
>
>feature 0-or-more 1-or-more 1-or-0 grouping/alternation intervals
> charclasses
> syntax
> 0 (o
On Wed, Apr 16, 2025, 10:22 AM Eric Blake wrote:
> On Tue, Apr 15, 2025 at 06:34:35PM -0400, Nikolaos Chatzikonstantinou
> wrote:
> > > Since there's already another long thread on how m4 does not match
> > > current emacs regex but why enabling intervals would break at least
> > > autoconf 2.72,
On Tue, Apr 15, 2025 at 06:34:35PM -0400, Nikolaos Chatzikonstantinou wrote:
> > Since there's already another long thread on how m4 does not match
> > current emacs regex but why enabling intervals would break at least
> > autoconf 2.72, I'm inclined to update the m4 manual rather than use
> > RE_
Hi,
Grisha Levit wrote:
> Avoid ./configure errors on macOS like:
> rm: cannot remove 'conftest.dSYM': Is a directory
> ...
> diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
> index 6eff85bea1..ecda6cc137 100644
> --- a/m4/gnulib-common.m4
> +++ b/m4/gnulib-common.m4
> @@ -1304,7 +1304,