X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fregex.c;h=63189b2809c0dc2fb7c2f379bbb14e7a2356c79c;hb=bcde2e612f91be65bfe986c92b2e3c7aca50db0f;hp=508a271425003a6a0ded7e6c0365ec2fd9033dbd;hpb=6a0e10f2ca2bb8172b99e288b7e76f3759dd5996;p=gnulib.git 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