This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: suggested patches for regex routines from gawk


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]