This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.20-252-gbde2667


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 "GNU C Library master sources".

The branch, master has been updated
       via  bde2667a22c355467a4f07246c6d07a9dcc89366 (commit)
      from  5fbb569186ef678d7ca3b7b865dd36f851eb433c (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bde2667a22c355467a4f07246c6d07a9dcc89366

commit bde2667a22c355467a4f07246c6d07a9dcc89366
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 25 21:40:51 2014 +0000

    Fix warning in posix/bug-regex31.c.
    
    This patch fixes a "set but not used" warning in posix/bug-regex31.c.
    A variable res stored an indication of whether the test behaved as
    expected, but was then ignored and the test returned 0 unconditionally
    (as an mtrace test, the auxiliary test for leaks could still have
    failed if that bug was present).  This patch makes the test return
    res.
    
    Tested for x86_64.
    
    	* posix/bug-regex31.c (main): Return RES not 0.

diff --git a/ChangeLog b/ChangeLog
index f827c3a..8ee0650 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* posix/bug-regex31.c (main): Return RES not 0.
+
 2014-11-25  Anton Blanchard <anton@samba.org>
 
 	* sysdeps/powerpc/bits/atomic.h
diff --git a/posix/bug-regex31.c b/posix/bug-regex31.c
index fc48581..fd7e0c5 100644
--- a/posix/bug-regex31.c
+++ b/posix/bug-regex31.c
@@ -33,5 +33,5 @@ main (void)
 
   free (buf);
 
-  return 0;
+  return res;
 }

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

Summary of changes:
 ChangeLog           |    4 ++++
 posix/bug-regex31.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]