From: DJ Delorie <dj@redhat.com>
To: obrien@FreeBSD.org
Cc: jjohnstn@redhat.com, gcc-patches@gcc.gnu.org,
binutils@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: libibery regex
Date: Wed, 11 Jul 2001 08:35:00 -0000 [thread overview]
Message-ID: <200107111534.LAA17720@greed.delorie.com> (raw)
In-Reply-To: <20010710213513.A3359@dragon.nuxi.com>
> I don't quite understand the need of this. What is wrong with using
> native regex libs (if they exist). This makes it sound like this
> version would always be used -- adding to code bloat.
The problem is that libiberty can't conditionally provide the right
regex header based on what it determines about the host regex.
Programs which use <regex.h> will NOT use libiberty's regex. Programs
that use "xregex.h" will ALWAYS use libiberty's regex, which is always
the "latest" GNU regex.
If your package can reliably detect if the host regex is acceptable,
then use that conditional to select between regex.h and xregex.h and
you'll get what you want.
However, many projects include a complete local copy of GNU regex and
use that. This patch at least collects those to one location and
keeps it up to date (there are at least two or three places, I think).
We want to get rid of those local copies.
prev parent reply other threads:[~2001-07-11 8:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200107091924.PAA15845@greed.delorie.com>
[not found] ` <3B4B2F4C.257185A8@cygnus.com>
[not found] ` <200107101645.MAA08773@greed.delorie.com>
[not found] ` <3B4B4E2F.3DEFD9E7@cygnus.com>
2001-07-10 17:22 ` DJ Delorie
2001-07-10 21:35 ` David O'Brien
2001-07-11 8:35 ` DJ Delorie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200107111534.LAA17720@greed.delorie.com \
--to=dj@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb@sources.redhat.com \
--cc=jjohnstn@redhat.com \
--cc=obrien@FreeBSD.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox