libibery regex

David O'Brien obrien@FreeBSD.org
Tue Jul 10 21:35:00 GMT 2001


On Tue, Jul 10, 2001 at 08:22:42PM -0400, DJ Delorie wrote:
> To all: If you want GNU regex (from glibc, and I will strive to keep
> it in sync), just include "xregex.h" in your source and libiberty will
> provide you with it.  No need to do anything special, as xregex
> #defines all the usual names (regcmp, etc) to "x" names (xregcmp,
> etc).

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.

-- 
-- David  (obrien@FreeBSD.org)



More information about the Gcc-patches mailing list