From 5be7fe9ce96a0a4b1cda3abf1fafa40ff8b50cbb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 17 Oct 2002 17:16:53 +0000 Subject: Update. 2002-10-17 Isamu Hasegawa * posix/bug-regex11.c: Add a test case for the bug reported by Paolo Bonzini . * posix/regexec.c (sift_states_bkref): Use correct destination of the back reference. --- posix/regexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix/regexec.c') diff --git a/posix/regexec.c b/posix/regexec.c index 5c80f19f4e..60518f731f 100644 --- a/posix/regexec.c +++ b/posix/regexec.c @@ -1945,7 +1945,7 @@ sift_states_bkref (preg, mctx, sctx, str_idx, dest_nodes) continue; if (check_dst_limits (dfa, &sctx->limits, mctx, node, - str_idx, dfa->nexts[node], to_idx)) + str_idx, dst_node, to_idx)) continue; if (sctx->check_subexp == dfa->nodes[node].opr.idx) { -- cgit 1.4.1