diff options
author | Jim Meyering <jim@meyering.net> | 1995-12-15 15:34:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-12-15 15:34:07 +0000 |
commit | c038102c6a7ca578c6a089fd0bd72bf00fc03ea4 (patch) | |
tree | a235746db14cf45ee3ff0a8aec257e01d5cf7fbb /lib | |
parent | 23cfe443428e099da7b09653c7ab480fab53ce09 (diff) | |
download | coreutils-c038102c6a7ca578c6a089fd0bd72bf00fc03ea4.tar.xz |
Apply the usual REL_ALLOC patch.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/regex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/regex.c b/lib/regex.c index 508a27142..63189b280 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -2921,7 +2921,9 @@ re_compile_fastmap (bufp) /* This holds the pointer to the failure stack, when it is allocated relocatably. */ +#ifdef REL_ALLOC fail_stack_elt_t *failure_stack_ptr; +#endif /* Assume that each path through the pattern can be null until proven otherwise. We set this false at the bottom of switch @@ -3586,7 +3588,9 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) /* This holds the pointer to the failure stack, when it is allocated relocatably. */ +#ifdef REL_ALLOC fail_stack_elt_t *failure_stack_ptr; +#endif /* We fill all the registers internally, independent of what we return, for use in backreferences. The number here includes |