[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.20-61-ge9a7702

From: Jim Meyering
Subject: grep branch, master, updated. v2.20-61-ge9a7702
Date: Thu, 09 Oct 2014 22:24:02 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  e9a7702427a897bc4ac0e5b78c91a954c0a6fe4a (commit)
      from  8e7b0f074002b60b8804837841b39ccea3efc770 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit e9a7702427a897bc4ac0e5b78c91a954c0a6fe4a
Author: Norihiro Tanaka <address@hidden>
Date:   Wed Oct 8 21:20:27 2014 -0700

    dfa: fix a theoretical bug
    * src/dfa.c (dfaexec_main): After searching for a match from
    the initial state, set the previous state, S1, to 0.
    So far, we have found no case in which this fix makes a difference.

diff --git a/src/dfa.c b/src/dfa.c
index 2e61982..58a4b83 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -3388,6 +3388,7 @@ dfaexec_main (struct dfa *d, char const *begin, char *end,
               while (t[*p] == 0)
+              s1 = 0;
               s = t[*p++];


Summary of changes:
 src/dfa.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]