X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fregex.c;h=b3432622cea876ceabbd03af80e358870bffd447;hb=9730c386c1eb4450d04fa75037dab61e41038919;hp=d262e50d9af5cb7355808941bf3b6ac0ddbeb189;hpb=2a94afb88c2fd25a9dee69d242d323684877583a;p=gnulib.git diff --git a/lib/regex.c b/lib/regex.c index d262e50d9..b3432622c 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -4505,9 +4505,9 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) #endif if ((re_opcode_t) p1[3] == exactn - && ! ((int) p2[1] * BYTEWIDTH > (int) p1[4] - && (p2[1 + p1[4] / BYTEWIDTH] - & (1 << (p1[4] % BYTEWIDTH))))) + && ! ((int) p2[1] * BYTEWIDTH > (int) p1[5] + && (p2[2 + p1[5] / BYTEWIDTH] + & (1 << (p1[5] % BYTEWIDTH))))) { p[-3] = (unsigned char) pop_failure_jump; DEBUG_PRINT3 (" %c != %c => pop_failure_jump.\n",