suggested patches for regex routines from gawk
Andreas Schwab
schwab@linux-m68k.org
Fri Dec 28 11:09:00 GMT 2012
Aharon Robbins <arnold@skeeve.com> writes:
> --- a/posix/regcomp.c
> +++ b/posix/regcomp.c
> @@ -301,7 +301,7 @@ static void
> re_compile_fastmap_iter (regex_t *bufp, const re_dfastate_t *init_state,
> char *fastmap)
> {
> - re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
> + volatile re_dfa_t *dfa = (re_dfa_t *) bufp->buffer;
What is this needed for?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list