diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2003-07-17 18:43:37 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-07-17 18:43:37 +0000 |
commit | 78ff95dc17c157fafe2169b9e0bb47c2417dce85 (patch) | |
tree | b2d057bdff97d48580137d3301f470dbcfcecb35 /gcc/fixinc | |
parent | b23ba0b898de1ff77ea043847d7e3131f7e14336 (diff) | |
download | gcc-78ff95dc17c157fafe2169b9e0bb47c2417dce85.zip gcc-78ff95dc17c157fafe2169b9e0bb47c2417dce85.tar.gz gcc-78ff95dc17c157fafe2169b9e0bb47c2417dce85.tar.bz2 |
inclhack.def (solaris_mutex_init_2): Escape braces in regexp that don't form a range expression.
* fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
in regexp that don't form a range expression.
* fixinc/fixincl.def: Regenerate.
From-SVN: r69517
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/fixincl.x | 6 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index 8bb2b0f..c25527b 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed Monday July 14, 2003 at 08:37:56 PM EDT + * It has been AutoGen-ed Thursday July 17, 2003 at 10:34:33 AM PDT * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT CVS-MERGE THIS FILE, EITHER Mon Jul 14 20:37:56 EDT 2003 +/* DO NOT CVS-MERGE THIS FILE, EITHER Thu Jul 17 10:34:33 PDT 2003 * * You must regenerate it. Use the ./genfixes script. * @@ -3968,7 +3968,7 @@ static const char* apzSolaris_Mutex_Init_2Patch[] = { #else\n\ %1, {0}}%3\n\ #endif", - "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*),[ \t]*0}(|[ \t].*)$", + "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$", (char*)NULL }; /* * * * * * * * * * * * * * * * * * * * * * * * * * diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 63f5ce0..7fd6f45 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -2198,8 +2198,8 @@ fix = { "#else\n" "%1, {0}}%3\n" "#endif"; - c_fix_arg = "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*)" - ",[ \t]*0}" "(|[ \t].*)$"; + c_fix_arg = "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*)" + ",[ \t]*0\\}" "(|[ \t].*)$"; test_text = '#ident "@(#)pthread.h 1.26 98/04/12 SMI"'"\n" "#define PTHREAD_MUTEX_INITIALIZER\t{{{0},0}, {{{0}}}, 0}\n" |