public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5607] New: netdb.h should not declare herror and hstrerror by default
@ 2008-01-13 22:38 bruno at clisp dot org
2008-01-16 10:12 ` [Bug libc/5607] " drepper at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: bruno at clisp dot org @ 2008-01-13 22:38 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-16 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-13 22:38 [Bug libc/5607] New: netdb.h should not declare herror and hstrerror by default bruno at clisp dot org
2008-01-16 10:12 ` [Bug libc/5607] " drepper at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).