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.11-120-g505cf2c


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  505cf2c00a0b43819f2b90069b42ace79034290d (commit)
      from  86df697d806323a1f8d1c6b9429a62c20da881c5 (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=505cf2c00a0b43819f2b90069b42ace79034290d

commit 505cf2c00a0b43819f2b90069b42ace79034290d
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Tue Jan 12 16:43:00 2010 -0800

    Fix up netdb.h for XPG7.

diff --git a/ChangeLog b/ChangeLog
index bb5d715..ab85512 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
 2010-01-12  Ulrich Drepper  <drepper@redhat.com>
 
-	* conform/conformtest.pl (checknamespace): Implement tag for
-	allow-header.
+	* resolv/netdb.h: Don't define old resolver macros for XPG7.
+
+	* conform/data/sys/uio.h-data: Don't exclude POSIX2008.
+
+	* conform/conformtest.pl: Implement tag for allow-header.
+	Fix newline handling in allow-header implementation.
+
 	* conform/data/time.h-data: Use allow-header instead of duplicating
 	information.
 
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index 4cf571f..d324d81 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -1048,6 +1048,7 @@ while ($#headers >= 0) {
 
     open (ALLOW, "$CC -E -D$dialect - < data/$ah-data |");
     acontrol: while (<ALLOW>) {
+      chop;
       next acontrol if (/^#/);
       next acontrol if (/^[	]*$/);
 
diff --git a/conform/data/sys/uio.h-data b/conform/data/sys/uio.h-data
index 7833e72..03d0a3b 100644
--- a/conform/data/sys/uio.h-data
+++ b/conform/data/sys/uio.h-data
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined POSIX
 type {struct iovec}
 
 element {struct iovec} {void*} iov_base
diff --git a/resolv/netdb.h b/resolv/netdb.h
index dc1f7ce..0835939 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -1,4 +1,4 @@
-  /* Copyright (C) 1996-2002, 2003, 2004, 2009 Free Software Foundation, Inc.
+  /* Copyright (C) 1996-2004, 2009, 2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -53,6 +53,7 @@
 
 __BEGIN_DECLS
 
+#if defined __USE_GNU || !defined __USE_XOPEN2K8
 /* Error status for non-reentrant lookup functions.
    We use a macro to access always the thread-specific `h_errno' variable.  */
 #define h_errno (*__h_errno_location ())
@@ -69,6 +70,7 @@ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
 				   NOTIMP.  */
 #define	NO_DATA		4	/* Valid name, no data record of requested
 				   type.  */
+#endif
 #if defined __USE_MISC || defined __USE_GNU
 # define NETDB_INTERNAL	-1	/* See errno.  */
 # define NETDB_SUCCESS	0	/* No problem.  */

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

Summary of changes:
 ChangeLog                   |    9 +++++++--
 conform/conformtest.pl      |    1 +
 conform/data/sys/uio.h-data |    2 +-
 resolv/netdb.h              |    4 +++-
 4 files changed, 12 insertions(+), 4 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]