grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.7-2-g24d9aef


From: Jim Meyering
Subject: grep branch, master, updated. v2.7-2-g24d9aef
Date: Mon, 20 Sep 2010 15:54:50 +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  24d9aefd4be68f06b8c6c74b07e51736958d24fd (commit)
      from  2b1c01b12f4b2174fa570d28164ae6d2639a1204 (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=24d9aefd4be68f06b8c6c74b07e51736958d24fd


commit 24d9aefd4be68f06b8c6c74b07e51736958d24fd
Author: Aharon Robbins <address@hidden>
Date:   Thu Sep 16 13:12:11 2010 +0200

    dfa: fix compilation when not using MBS
    
    * src/dfa.c (prepare_wc_buf) [!MBS_SUPPORT]: Do not compile this
    function.

diff --git a/src/dfa.c b/src/dfa.c
index 3bbe343..a2f4174 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -3122,8 +3122,6 @@ transit_state (struct dfa *d, int s, unsigned char const 
**pp)
   return s1;
 }
 
-#endif /* MBS_SUPPORT */
-
 /* Initialize mblen_buf and inputwcs with data from the next line.  */
 
 static void
@@ -3171,6 +3169,8 @@ prepare_wc_buf (const char *begin, const char *end)
   inputwcs[i] = 0; /* sentinel */
 }
 
+#endif /* MBS_SUPPORT */
+
 /* Search through a buffer looking for a match to the given struct dfa.
    Find the first occurrence of a string matching the regexp in the
    buffer, and the shortest possible version thereof.  Return a pointer to

-----------------------------------------------------------------------

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


hooks/post-receive
-- 
grep



reply via email to

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