diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 20:42:19 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 20:42:19 +0000 |
commit | 30f9dc1cba704b7275892b514757393aaf5abbab (patch) | |
tree | dde90177f55808dcd653cf0c7bb274ebfc6d3c81 /gcc/fixinc/fixlib.c | |
parent | b290c3142312f2c58095bc2ca9a4bf172a138bb2 (diff) | |
download | gcc-30f9dc1cba704b7275892b514757393aaf5abbab.tar.gz |
* Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
* fixinc/Makefile.in: Remove all references to gnu-regex.[och].
* fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
* fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
* fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
* fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
Escape { and } characters which are not part of range expressions.
* fixinc/fixincl.x: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69099 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/fixlib.c')
-rw-r--r-- | gcc/fixinc/fixlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixinc/fixlib.c b/gcc/fixinc/fixlib.c index af56f3ea4c9..49edda776d1 100644 --- a/gcc/fixinc/fixlib.c +++ b/gcc/fixinc/fixlib.c @@ -131,7 +131,7 @@ template[ \t]*<|\ if (!compiled) compile_re (cxxpat, &cxxre, 0, "contents check", "is_cxx_header"); - if (regexec (&cxxre, text, 0, 0, 0) == 0) + if (xregexec (&cxxre, text, 0, 0, 0) == 0) return BOOL_TRUE; } @@ -181,7 +181,7 @@ skip_quote( q, text ) Compile one regular expression pattern for later use. PAT contains the pattern, RE points to a regex_t structure (which should have been bzeroed). MATCH is 1 if we need to know where the regex - matched, 0 if not. If regcomp fails, prints an error message and + matched, 0 if not. If xregcomp fails, prints an error message and aborts; E1 and E2 are strings to shove into the error message. The patterns we search for are all egrep patterns. @@ -201,7 +201,7 @@ compile_re( pat, re, match, e1, e2 ) flags = (match ? REG_EXTENDED|REG_NEWLINE : REG_EXTENDED|REG_NEWLINE|REG_NOSUB); - err = regcomp (re, pat, flags); + err = xregcomp (re, pat, flags); if (err) { |