From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12170 invoked by alias); 9 Dec 2009 11:04:19 -0000 Received: (qmail 10372 invoked by uid 48); 9 Dec 2009 11:04:04 -0000 Date: Wed, 09 Dec 2009 11:04:00 -0000 From: "simon at josefsson dot org" To: glibc-bugs@sources.redhat.com Message-ID: <20091209110403.11070.simon@josefsson.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/11070] New: Glibc netdb.h does not provide prototype for 'iruserok' X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00031.txt.bz2 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.