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.24-312-gc317468


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  c31746887dc5007f7b77f8f99b5e9335bebec167 (commit)
      from  0e6d3adc60d8073397af6a320e594d98d7fbedde (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=c31746887dc5007f7b77f8f99b5e9335bebec167

commit c31746887dc5007f7b77f8f99b5e9335bebec167
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Fri Oct 28 12:43:15 2016 -0400

    Add missing include for stdlib.h.
    
    The test math/test-nan-overflow uses malloc without including
    stdlib.h. On -Os builds for i486 the header inclusion order
    is altered enough that the test fails to build because of the
    warning which is turned into an error.
    
    The obvious fix is to include stdlib.h since malloc is being
    used directly.

diff --git a/ChangeLog b/ChangeLog
index 995720e..6c6caab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-28  Carlos O'Donell  <carlos@redhat.com>
+
+	* math/test-nan-overflow.c: Include stdlib.h for malloc.
+
 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #20019]
diff --git a/math/test-nan-overflow.c b/math/test-nan-overflow.c
index 40aae2e..745a044 100644
--- a/math/test-nan-overflow.c
+++ b/math/test-nan-overflow.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/resource.h>
+#include <stdlib.h>
 
 #define STACK_LIM 1048576
 #define STRING_SIZE (2 * STACK_LIM)

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

Summary of changes:
 ChangeLog                |    4 ++++
 math/test-nan-overflow.c |    1 +
 2 files changed, 5 insertions(+), 0 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]