Re: [RFC/PATCH] Use compatibility regex library for OSX/Darwin
On Wed, Sep 10, 2008 at 09:03:05AM +0100, Mike Ralphson wrote:
Show 12 quoted lines
> 2008/9/7 Arjen Laarhoven <arjen@yaph.org>
> > The standard libc regex library on OSX does not support alternation
> > in POSIX Basic Regular Expression mode. This breaks the diff.funcname
> > functionality on OSX.
> >
> > Also, I'm sure the problem occurs on more non-Linux systems (or non
> > GNU libc systems). If people who have access to those systems (BSD's,
> > HP-UX, AIX, etc) can test it, I'd be happy to add those systems to the
> > patch so it can fix for multiple systems at once.
>
> I can confirm that the issue shown up by your new testcase is also
> present in AIX 5.3.
Ok, I'll add AIX to the fix and a Tested-by: line.
[snip]
> Adding -lcompat/regex to COMPAT_CFLAGS as per your Darwin hunk
> provokes lots of warnings:
I think your problem is a lowercase ell instead of an uppercase i ;-)
Arjen
--
Arjen Laarhoven
The presence of those seeking the truth is infinitely to be preferred to
those who think they've found it.
-- Terry Pratchett, "Monstrous Regiment"