This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.11-128-g63ee841
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 14 Jan 2010 18:06:10 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.11-128-g63ee841
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 63ee841069628f4af58f7e3c27ac17c7ae711c43 (commit)
from b1a664426773dc7f80886f99962ee8f9b36d2c0f (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=63ee841069628f4af58f7e3c27ac17c7ae711c43
commit 63ee841069628f4af58f7e3c27ac17c7ae711c43
Author: Ulrich Drepper <drepper@redhat.com>
Date: Thu Jan 14 10:05:36 2010 -0800
Relax condition for resolver constant definition.
diff --git a/ChangeLog b/ChangeLog
index 13faa59..40eddbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2010-01-14 Ulrich Drepper <drepper@redhat.com>
+ * resolv/netdb.h: Relax condition to elide obsolete resolver constants.
+
* posix/unistd.h: Declare getpagesize in _GNU_SOURCE mode.
[BZ #11120]
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 0835939..d72048c 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -53,22 +53,22 @@
__BEGIN_DECLS
-#if defined __USE_GNU || !defined __USE_XOPEN2K8
+#if defined __USE_MISC || 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 ())
+# define h_errno (*__h_errno_location ())
/* Function to get address of global `h_errno' variable. */
extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
/* Possible values left in `h_errno'. */
-#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found. */
-#define TRY_AGAIN 2 /* Non-Authoritative Host not found,
+# define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found. */
+# define TRY_AGAIN 2 /* Non-Authoritative Host not found,
or SERVERFAIL. */
-#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED,
+# define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED,
NOTIMP. */
-#define NO_DATA 4 /* Valid name, no data record of requested
+# define NO_DATA 4 /* Valid name, no data record of requested
type. */
#endif
#if defined __USE_MISC || defined __USE_GNU
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
resolv/netdb.h | 12 ++++++------
2 files changed, 8 insertions(+), 6 deletions(-)
hooks/post-receive
--
GNU C Library master sources