diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-10-17 17:16:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-10-17 17:16:53 +0000 |
commit | 5be7fe9ce96a0a4b1cda3abf1fafa40ff8b50cbb (patch) | |
tree | a564fbd3b8032475128316ed5e4262db5ee7114c /posix/regexec.c | |
parent | d4ece86585be975abe6593c470ef24e1f2f6a68f (diff) | |
download | glibc-5be7fe9ce96a0a4b1cda3abf1fafa40ff8b50cbb.zip glibc-5be7fe9ce96a0a4b1cda3abf1fafa40ff8b50cbb.tar.gz glibc-5be7fe9ce96a0a4b1cda3abf1fafa40ff8b50cbb.tar.bz2 |
Update.
2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/bug-regex11.c: Add a test case for the bug reported by
Paolo Bonzini <bonzini@gnu.org>.
* posix/regexec.c (sift_states_bkref): Use correct destination of
the back reference.
Diffstat (limited to 'posix/regexec.c')
-rw-r--r-- | posix/regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regexec.c b/posix/regexec.c index 5c80f19..60518f7 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) { |