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.15-537-g302cadd


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  302cadd343d26cfa9b043c213c2a38de259464d8 (commit)
      from  228c019e6336d6da448715a1c5fcca9771827f61 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=302cadd343d26cfa9b043c213c2a38de259464d8

commit 302cadd343d26cfa9b043c213c2a38de259464d8
Author: Thomas Schwinge <thomas@schwinge.name>
Date:   Mon Apr 2 22:31:32 2012 +0200

    Testsuite #include fixes.

diff --git a/ChangeLog b/ChangeLog
index ebb7042..ca85e54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
 
+	* string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
+	CHAR_MAX.
+	* string/test-strcmp.c [! WIDE]: Likewise.
+	* time/tst-mktime2.c: Likewise for INT_MAX.
+	* string/test-string.h: #include <sys/param.h> for MIN.
+
 	* csu/init-first.c (__libc_init_first): Call __ctype_init.
 	* sysdeps/i386/init-first.c (init): Likewise.
 	* sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
diff --git a/string/test-memcmp.c b/string/test-memcmp.c
index 2e61f59..69076d0 100644
--- a/string/test-memcmp.c
+++ b/string/test-memcmp.c
@@ -1,5 +1,5 @@
 /* Test and measure memcmp functions.
-   Copyright (C) 1999, 2002, 2003, 2005, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Jakub Jelinek <jakub@redhat.com>, 1999.
    Added wmemcmp support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>, 2011.
@@ -44,6 +44,8 @@ simple_wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n)
   return ret;
 }
 #else
+# include <limits.h>
+
 # define MEMCMP memcmp
 # define MEMCPY memcpy
 # define SIMPLE_MEMCMP simple_memcmp
diff --git a/string/test-strcmp.c b/string/test-strcmp.c
index 85df6dc..000c510 100644
--- a/string/test-strcmp.c
+++ b/string/test-strcmp.c
@@ -1,5 +1,5 @@
 /* Test and measure strcmp and wcscmp functions.
-   Copyright (C) 1999, 2002, 2003, 2005, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Jakub Jelinek <jakub@redhat.com>, 1999.
    Added wcscmp support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>, 2011.
@@ -80,6 +80,8 @@ stupid_wcscmp (const wchar_t *s1, const wchar_t *s2)
 }
 
 #else
+# include <limits.h>
+
 # define L(str) str
 # define STRCMP strcmp
 # define STRCPY strcpy
diff --git a/string/test-string.h b/string/test-string.h
index 40fec18..c94d822 100644
--- a/string/test-string.h
+++ b/string/test-string.h
@@ -1,5 +1,5 @@
 /* Test and measure string and memory functions.
-   Copyright (C) 1999, 2002, 2004, 2008, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Jakub Jelinek <jakub@redhat.com>, 1999.
 
@@ -44,6 +44,7 @@ extern impl_t __start_impls[], __stop_impls[];
 #include <stdlib.h>
 #include <string.h>
 #include <sys/mman.h>
+#include <sys/param.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <error.h>
diff --git a/time/tst-mktime2.c b/time/tst-mktime2.c
index 0e4fd1e..bc7cc58 100644
--- a/time/tst-mktime2.c
+++ b/time/tst-mktime2.c
@@ -1,4 +1,6 @@
 /* Test program from Paul Eggert and Tony Leneis.  */
+
+#include <limits.h>
 #include <time.h>
 #include <stdlib.h>
 #include <unistd.h>

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

Summary of changes:
 ChangeLog            |    6 ++++++
 string/test-memcmp.c |    4 +++-
 string/test-strcmp.c |    4 +++-
 string/test-string.h |    3 ++-
 time/tst-mktime2.c   |    2 ++
 5 files changed, 16 insertions(+), 3 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]