This is the mail archive of the glibc-bugs@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]

[Bug libc/5607] New: netdb.h should not declare herror and hstrerror by default


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]