Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 17 Oct 2002 17:16:53 +0000 (17:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 17 Oct 2002 17:16:53 +0000 (17:16 +0000)
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.

ChangeLog
posix/regexec.c

index 6ff6beb..325bff4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 2002-10-17  Roland McGrath  <roland@redhat.com>
 
        * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
index 5c80f19..60518f7 100644 (file)
@@ -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)
                 {