Bug 98460 - missing getipnodebyname, getipnodebyname, freehostent
missing getipnodebyname, getipnodebyname, freehostent
Product: Red Hat Linux
Classification: Retired
Component: libc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2003-07-02 13:17 EDT by Bill Jones
Modified: 2007-04-18 12:55 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-02 13:52:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bill Jones 2003-07-02 13:17:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1)
Gecko/20020823 Netscape/7.0 (nscd2)

Description of problem:
Please reply to piute.mountain@verizon.net. The email account identified by my
UID is no longer valid.

This is a follow on querry to BUG8736 more than a bug report. What are RedHat's
plans WRT providing support for getipnodebyname, getipnodebyname, and
freehostent? I'm porting an application to 7.3 LINUX which requires these
routines. They appear to not exist on 7.3. Is there a patch, bug fix, or
whatever I can apply that provides these functions? I don't want to hack up the
code to use the obsdolete gethostby* functions unless there is absolutely no

Please advise.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Try to link any app that calls getipnodebyname, getipnodebyname, or freehostent
2. Run nm --print-armap on all .a and .so in /usr/lib and grep for any of the
missing functions. You will not see them.

Additional info:
Comment 1 Jakub Jelinek 2003-07-02 13:52:21 EDT
So you want to use a different obsolete interface (which was obsolete in 2000
Use getaddrinfo(3) instead.

Note You need to log in before you can comment on or make changes to this bug.