This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5607] New: netdb.h should not declare herror and hstrerror by default
- From: "bruno at clisp dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Jan 2008 22:38:01 -0000
- Subject: [Bug libc/5607] New: netdb.h should not declare herror and hstrerror by default
- Reply-to: sourceware-bugzilla at sourceware dot org
POSIX:2001 does not specify the function herror and hstrerror in <netdb.h>,
see http://www.opengroup.org/susv3/basedefs/netdb.h.html
Therefore IMO their declaration in glibc's <netdb.h> should be enclosed in
#if __USE_GNU
or a similar conditional (maybe __USE_BSD or __USE_MISC?).
--
Summary: netdb.h should not declare herror and hstrerror by
default
Product: glibc
Version: 2.4
Status: NEW
Severity: minor
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: bruno at clisp dot org
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i586-suse-linux
GCC host triplet: i586-suse-linux
GCC target triplet: i586-suse-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=5607
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.