From: Jim Blandy Date: Tue, 9 Mar 1993 17:03:08 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc4446944e4c5463b711ad69813915a757de3001;p=pspp *** empty log message *** --- diff --git a/regex.c b/regex.c index eda11b5350..cb94d597c6 100644 --- a/regex.c +++ b/regex.c @@ -2930,7 +2930,8 @@ re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop) inside the loop. */ if (translate) while (range > lim - && !fastmap[(unsigned char) translate[*d++]]) + && !fastmap[(unsigned char) + translate[(unsigned char) *d++]]) range--; else while (range > lim && !fastmap[(unsigned char) *d++])