grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.14-22-ga25802f


From: Paul Eggert
Subject: grep branch, master, updated. v2.14-22-ga25802f
Date: Tue, 15 Jan 2013 21:03:49 +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  a25802fcb14ef02e94855fdb320454f15e12d6a9 (commit)
      from  7f80b88964637357541f6e54608a5828d9bcae3f (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=a25802fcb14ef02e94855fdb320454f15e12d6a9


commit a25802fcb14ef02e94855fdb320454f15e12d6a9
Author: Paul Eggert <address@hidden>
Date:   Tue Jan 15 13:00:13 2013 -0800

    grep: make dfa.h standalone
    
    Problem reported by Aharon Robbins in
    <http://lists.gnu.org/archive/html/bug-grep/2013-01/msg00007.html>.
    * src/dfa.c: Include dfa.h first, so that it's tested standalone.
    No need to include <regex.h>, since we are in charge of dfa.h and
    know that it includes <regex.h>.
    * src/dfa.h: Include <regex.h> and <stddef.h>, so that it's standalone.

diff --git a/src/dfa.c b/src/dfa.c
index a7c0bbc..39a5563 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -21,6 +21,9 @@
    Modified July, 1988 by Arthur David Olson to assist BMG speedups  */
 
 #include <config.h>
+
+#include "dfa.h"
+
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
@@ -55,8 +58,6 @@
 # include <langinfo.h>
 #endif
 
-#include "regex.h"
-#include "dfa.h"
 #include "xalloc.h"
 
 /* HPUX, define those as macros in sys/param.h */
diff --git a/src/dfa.h b/src/dfa.h
index 31ce42e..c58485a 100644
--- a/src/dfa.h
+++ b/src/dfa.h
@@ -18,6 +18,9 @@
 
 /* Written June, 1988 by Mike Haertel */
 
+#include <regex.h>
+#include <stddef.h>
+
 /* Element of a list of strings, at least one of which is known to
    appear in any R.E. matching the DFA. */
 struct dfamust

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

Summary of changes:
 src/dfa.c |    5 +++--
 src/dfa.h |    3 +++
 2 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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