grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.14-9-gf97be96


From: Jim Meyering
Subject: grep branch, master, updated. v2.14-9-gf97be96
Date: Wed, 03 Oct 2012 10:25:21 +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  f97be96b2dcea51605b143fa1695b4ea5c75bddc (commit)
       via  3b14aaa4ddefb86e1bff782fc4575eec6186ca49 (commit)
      from  8f365f028427e4f8f6f52e548a3a0cbf3c9e94db (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=f97be96b2dcea51605b143fa1695b4ea5c75bddc


commit f97be96b2dcea51605b143fa1695b4ea5c75bddc
Author: Jim Meyering <address@hidden>
Date:   Wed Oct 3 12:24:16 2012 +0200

    maint: factor out STREQ definition
    
    * src/main.c (STREQ): Remove definition.
    * src/pcresearch.c: (STREQ): Likewise.
    * src/system.h (STREQ): Define it here instead.

diff --git a/src/main.c b/src/main.c
index e3b5186..6750007 100644
--- a/src/main.c
+++ b/src/main.c
@@ -52,8 +52,6 @@
 #define SEP_CHAR_REJECTED '-'
 #define SEP_STR_GROUP    "--"
 
-#define STREQ(a, b) (strcmp (a, b) == 0)
-
 #define AUTHORS \
   proper_name ("Mike Haertel"), \
   _("others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>")
diff --git a/src/pcresearch.c b/src/pcresearch.c
index a15f598..2e95f2d 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -29,8 +29,6 @@
 # include <langinfo.h>
 #endif
 
-#define STREQ(a, b) (strcmp (a, b) == 0)
-
 #if HAVE_LIBPCRE
 /* Compiled internal form of a Perl regular expression.  */
 static pcre *cre;
diff --git a/src/system.h b/src/system.h
index 426d893..95208df 100644
--- a/src/system.h
+++ b/src/system.h
@@ -52,4 +52,7 @@ enum { EXIT_TROUBLE = 2 };
 #endif
 
 #include "unlocked-io.h"
+
+#define STREQ(a, b) (strcmp (a, b) == 0)
+
 #endif

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=3b14aaa4ddefb86e1bff782fc4575eec6186ca49


commit f97be96b2dcea51605b143fa1695b4ea5c75bddc
Author: Jim Meyering <address@hidden>
Date:   Wed Oct 3 12:24:16 2012 +0200

    maint: factor out STREQ definition
    
    * src/main.c (STREQ): Remove definition.
    * src/pcresearch.c: (STREQ): Likewise.
    * src/system.h (STREQ): Define it here instead.

diff --git a/src/main.c b/src/main.c
index e3b5186..6750007 100644
--- a/src/main.c
+++ b/src/main.c
@@ -52,8 +52,6 @@
 #define SEP_CHAR_REJECTED '-'
 #define SEP_STR_GROUP    "--"
 
-#define STREQ(a, b) (strcmp (a, b) == 0)
-
 #define AUTHORS \
   proper_name ("Mike Haertel"), \
   _("others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>")
diff --git a/src/pcresearch.c b/src/pcresearch.c
index a15f598..2e95f2d 100644
--- a/src/pcresearch.c
+++ b/src/pcresearch.c
@@ -29,8 +29,6 @@
 # include <langinfo.h>
 #endif
 
-#define STREQ(a, b) (strcmp (a, b) == 0)
-
 #if HAVE_LIBPCRE
 /* Compiled internal form of a Perl regular expression.  */
 static pcre *cre;
diff --git a/src/system.h b/src/system.h
index 426d893..95208df 100644
--- a/src/system.h
+++ b/src/system.h
@@ -52,4 +52,7 @@ enum { EXIT_TROUBLE = 2 };
 #endif
 
 #include "unlocked-io.h"
+
+#define STREQ(a, b) (strcmp (a, b) == 0)
+
 #endif

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

Summary of changes:
 NEWS             |    9 +++++----
 src/main.c       |    2 --
 src/pcresearch.c |    2 +-
 src/system.h     |    3 +++
 tests/pcre-utf8  |   13 +++++++------
 5 files changed, 16 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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