This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: suggested patches for regex routines from gawk
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Aharon Robbins <arnold at skeeve dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 28 Dec 2012 12:07:51 +0100
- Subject: Re: suggested patches for regex routines from gawk
- References: <201212281009.qBSA9psa003299@skeeve.com>
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."