This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11070] New: Glibc netdb.h does not provide prototype for 'iruserok'
- From: "simon at josefsson dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Dec 2009 11:04:04 -0000
- Subject: [Bug libc/11070] New: Glibc netdb.h does not provide prototype for 'iruserok'
- Reply-to: sourceware-bugzilla at sourceware dot org
The function 'iruserok' is exported by libc.so, but there is no prototype for it
in any header file and the manual is silent on it. Options to improving this
situation:
1) Provide a prototype in netdb.h for the function.
2) Suggest in the manual that people shouldn't use 'iruserok'.
I note that netdb.h already has a prototype for 'ruserok'.
Other options?
The background here is that GNU InetUtils is using the 'iruserok' function in
rshd and rlogind, and provides its own internal prototype because it is missing
in glibc. This breaks building on BSD systems which uses another prototype.
For more background, see http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/19842
--
Summary: Glibc netdb.h does not provide prototype for 'iruserok'
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: simon at josefsson dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11070
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.