Project

General

Profile

Actions

Bug #900

closed

gethostbayddr_r on Dragonfly?

Added by frank almost 17 years ago. Updated almost 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

There is a gethostbyaddr_r in src/lib/libc/net/gethostnamadr.c which looks
provisional and should presumably not be used for productivity purposes.
The following simple program
---
int main() {
gethostbyaddr_r();
return(0);
}
---
compiles without errors, but is this really intentional? Thus pretending
to have a working gethostbyaddr_r is at any rate confusing for configure
scripts from 3rd party software which check for the presence and usability
of such function, the correct number of arguments cannot be determined.
The effects can be seen, for example, from running 'bmake configure' for
www/privoxy. That's not a fatal error in the case of privoxy, but the
program runs slightly misconfigured on Dragonfly and fills its logs with
complaints. Maybe an incomplete gethostbyaddr_r should better remain
invisible (at least on the RELEASE branch)?

Regards,
Frank Josellis

Actions #1

Updated by schmidtm almost 17 years ago

Hi,

According to [1] the function was accidentally in the file. I'm going to remove the
function as well if nobody objects.

Regards,

Matthias

[1] http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/net/gethostnamadr.c.diff?r1=1.21;r2=1.22

Actions #2

Updated by matthias almost 17 years ago

Committed, thanks.

Actions

Also available in: Atom PDF