grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.6.2-3-ge317eee


From: Jim Meyering
Subject: grep branch, master, updated. v2.6.2-3-ge317eee
Date: Tue, 30 Mar 2010 10:16:19 +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  e317eee8217401eb14f386e5778a981aa39d6a9a (commit)
       via  4007d6ed26e0dbd22b5b5cd3914292e32ecd2028 (commit)
      from  2c20c9617a8f85ab58e0795fdf458917573e3935 (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=e317eee8217401eb14f386e5778a981aa39d6a9a


commit e317eee8217401eb14f386e5778a981aa39d6a9a
Author: Jim Meyering <address@hidden>
Date:   Tue Mar 30 08:10:31 2010 +0200

    build: avoid compiler warning when building test program
    
    * tests/Makefile.am (AM_CPPFLAGS, AM_CFLAGS, AM_LDFLAGS): Define,
    so that all the usual C compile-and-link machinery comes into play.
    * tests/get-mb-cur-max.c: Include "progname.h".
    Remove unnecessary inclusion of <ctype.h>.
    Mike Frysinger reported the "implicit decl of set_program_name" warning.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 81a10b5..71f47c3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -15,6 +15,11 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 check_PROGRAMS = get-mb-cur-max
+AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+
+# Tell the linker to omit references to unused shared libraries.
+AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
 LDADD = ../lib/libgreputils.a $(LIBINTL) ../lib/libgreputils.a
 
 TESTS =                                                \
diff --git a/tests/get-mb-cur-max.c b/tests/get-mb-cur-max.c
index f7384d5..3ba7389 100644
--- a/tests/get-mb-cur-max.c
+++ b/tests/get-mb-cur-max.c
@@ -18,12 +18,13 @@
 
 #include <config.h>
 #include <locale.h>
-#include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "progname.h"
+
 int
-main(int argc, char **argv)
+main (int argc, char **argv)
 {
   set_program_name (argv[0]);
   if (setlocale (LC_ALL, argv[1]))

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=4007d6ed26e0dbd22b5b5cd3914292e32ecd2028


commit e317eee8217401eb14f386e5778a981aa39d6a9a
Author: Jim Meyering <address@hidden>
Date:   Tue Mar 30 08:10:31 2010 +0200

    build: avoid compiler warning when building test program
    
    * tests/Makefile.am (AM_CPPFLAGS, AM_CFLAGS, AM_LDFLAGS): Define,
    so that all the usual C compile-and-link machinery comes into play.
    * tests/get-mb-cur-max.c: Include "progname.h".
    Remove unnecessary inclusion of <ctype.h>.
    Mike Frysinger reported the "implicit decl of set_program_name" warning.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 81a10b5..71f47c3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -15,6 +15,11 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 check_PROGRAMS = get-mb-cur-max
+AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+
+# Tell the linker to omit references to unused shared libraries.
+AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
 LDADD = ../lib/libgreputils.a $(LIBINTL) ../lib/libgreputils.a
 
 TESTS =                                                \
diff --git a/tests/get-mb-cur-max.c b/tests/get-mb-cur-max.c
index f7384d5..3ba7389 100644
--- a/tests/get-mb-cur-max.c
+++ b/tests/get-mb-cur-max.c
@@ -18,12 +18,13 @@
 
 #include <config.h>
 #include <locale.h>
-#include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "progname.h"
+
 int
-main(int argc, char **argv)
+main (int argc, char **argv)
 {
   set_program_name (argv[0]);
   if (setlocale (LC_ALL, argv[1]))

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

Summary of changes:
 NEWS                   |    5 +++++
 m4/pcre.m4             |    4 +++-
 src/pcresearch.c       |    4 +++-
 tests/Makefile.am      |    5 +++++
 tests/get-mb-cur-max.c |    5 +++--
 5 files changed, 19 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
grep




reply via email to

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