This is the mail archive of the
mailing list for the GCC project.
Re: [libiberty] does anyone use regex.c with REGEX_MALLOC?
- From: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>, Jeff Law <law at redhat dot com>
- Cc: Aldy Hernandez <aldyh at redhat dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>, Ian Lance Taylor <ian at airs dot com>, DJ Delorie <dj at redhat dot com>, Ayush Goel <ayushgoel1610 at gmail dot com>
- Date: Mon, 25 Jul 2016 23:30:42 +0100
- Subject: Re: [libiberty] does anyone use regex.c with REGEX_MALLOC?
- Authentication-results: sourceware.org; auth=none
- References: <email@example.com> <firstname.lastname@example.org> <alpine.DEB.email@example.com>
On 25/07/16 21:16, Joseph Myers wrote:
On Mon, 25 Jul 2016, Jeff Law wrote:
I'll pre-approve removing those bits. Alternately, you could look to resync
with glibc, though that could prove painful after 15 years of divergence.
The current glibc implementation is completely different; the libiberty
version was replaced in glibc many years ago. Obsolete libiberty by
gnulib for all its users and you get a portable version of the current
glibc regex that way....
BTW, this is what Ayush is trying to do:
It would be great if someone could review his patches. I cannot approve them
You could even ask him to look next at replacing the libiberty version of
regex.c with gnulib's in GCC. It is on his TODO list.