mirror of git://sourceware.org/git/glibc.git
Fix up netdb.h for XPG7.
This commit is contained in:
parent
86df697d80
commit
505cf2c00a
|
@ -1,7 +1,12 @@
|
||||||
2010-01-12 Ulrich Drepper <drepper@redhat.com>
|
2010-01-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* conform/conformtest.pl (checknamespace): Implement tag for
|
* resolv/netdb.h: Don't define old resolver macros for XPG7.
|
||||||
allow-header.
|
|
||||||
|
* 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
|
* conform/data/time.h-data: Use allow-header instead of duplicating
|
||||||
information.
|
information.
|
||||||
|
|
||||||
|
|
|
@ -1048,6 +1048,7 @@ while ($#headers >= 0) {
|
||||||
|
|
||||||
open (ALLOW, "$CC -E -D$dialect - < data/$ah-data |");
|
open (ALLOW, "$CC -E -D$dialect - < data/$ah-data |");
|
||||||
acontrol: while (<ALLOW>) {
|
acontrol: while (<ALLOW>) {
|
||||||
|
chop;
|
||||||
next acontrol if (/^#/);
|
next acontrol if (/^#/);
|
||||||
next acontrol if (/^[ ]*$/);
|
next acontrol if (/^[ ]*$/);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined POSIX
|
||||||
type {struct iovec}
|
type {struct iovec}
|
||||||
|
|
||||||
element {struct iovec} {void*} iov_base
|
element {struct iovec} {void*} iov_base
|
||||||
|
|
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -53,6 +53,7 @@
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
#if defined __USE_GNU || !defined __USE_XOPEN2K8
|
||||||
/* Error status for non-reentrant lookup functions.
|
/* Error status for non-reentrant lookup functions.
|
||||||
We use a macro to access always the thread-specific `h_errno' variable. */
|
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 ())
|
||||||
|
@ -69,6 +70,7 @@ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
|
||||||
NOTIMP. */
|
NOTIMP. */
|
||||||
#define NO_DATA 4 /* Valid name, no data record of requested
|
#define NO_DATA 4 /* Valid name, no data record of requested
|
||||||
type. */
|
type. */
|
||||||
|
#endif
|
||||||
#if defined __USE_MISC || defined __USE_GNU
|
#if defined __USE_MISC || defined __USE_GNU
|
||||||
# define NETDB_INTERNAL -1 /* See errno. */
|
# define NETDB_INTERNAL -1 /* See errno. */
|
||||||
# define NETDB_SUCCESS 0 /* No problem. */
|
# define NETDB_SUCCESS 0 /* No problem. */
|
||||||
|
|
Loading…
Reference in New Issue