grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.7-18-g084a57b


From: Paolo Bonzini
Subject: grep branch, master, updated. v2.7-18-g084a57b
Date: Mon, 20 Dec 2010 15:13: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  084a57b0f74fa8c1eef75e775a1cd2a03504104d (commit)
       via  76d1112d21ffb7164df3e6b31869bf4f21679fb2 (commit)
      from  b8fa0e106fe976912044d703c8e90d22e4d4c3d0 (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=084a57b0f74fa8c1eef75e775a1cd2a03504104d


commit 084a57b0f74fa8c1eef75e775a1cd2a03504104d
Author: Paolo Bonzini <address@hidden>
Date:   Mon Dec 20 16:06:18 2010 +0100

    main: fix exit status on xmalloc failures
    
    * NEWS: Update.
    * src/main.c (main): Set exit_failure.  Reported by Guy Shaw.

diff --git a/NEWS b/NEWS
index 539e978..bd75640 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@ GNU grep NEWS                                    -*- outline -*-
   support was introduced in 2.5.2, though the steps needed to reproduce
   it changed in grep-2.6]
 
+  grep erroneously returned with exit status 1 on some memory allocation 
+  failure. [bug present since "the beginning"]
+
 * Noteworthy changes in release 2.7 (2010-09-16) [stable]
 
 ** Bug fixes
diff --git a/gnulib b/gnulib
index 37b74cd..e2b0e1a 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 37b74cd909f60076a096ab8ac2635bc77755153f
+Subproject commit e2b0e1a20b071f1516829ffe5bbddbc41007fd63
diff --git a/src/main.c b/src/main.c
index 0a91b7f..68b54dd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1760,6 +1760,7 @@ main (int argc, char **argv)
   int default_context;
   FILE *fp;
 
+  exit_failure = EXIT_TROUBLE;
   initialize_main (&argc, &argv);
   set_program_name (argv[0]);
   program_name = argv[0];

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=76d1112d21ffb7164df3e6b31869bf4f21679fb2


commit 084a57b0f74fa8c1eef75e775a1cd2a03504104d
Author: Paolo Bonzini <address@hidden>
Date:   Mon Dec 20 16:06:18 2010 +0100

    main: fix exit status on xmalloc failures
    
    * NEWS: Update.
    * src/main.c (main): Set exit_failure.  Reported by Guy Shaw.

diff --git a/NEWS b/NEWS
index 539e978..bd75640 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@ GNU grep NEWS                                    -*- outline -*-
   support was introduced in 2.5.2, though the steps needed to reproduce
   it changed in grep-2.6]
 
+  grep erroneously returned with exit status 1 on some memory allocation 
+  failure. [bug present since "the beginning"]
+
 * Noteworthy changes in release 2.7 (2010-09-16) [stable]
 
 ** Bug fixes
diff --git a/gnulib b/gnulib
index 37b74cd..e2b0e1a 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 37b74cd909f60076a096ab8ac2635bc77755153f
+Subproject commit e2b0e1a20b071f1516829ffe5bbddbc41007fd63
diff --git a/src/main.c b/src/main.c
index 0a91b7f..68b54dd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1760,6 +1760,7 @@ main (int argc, char **argv)
   int default_context;
   FILE *fp;
 
+  exit_failure = EXIT_TROUBLE;
   initialize_main (&argc, &argv);
   set_program_name (argv[0]);
   program_name = argv[0];

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

Summary of changes:
 NEWS         |    3 +++
 configure.ac |   11 ++++++++++-
 gnulib       |    2 +-
 src/main.c   |    1 +
 4 files changed, 15 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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