critical impact:
getrpcbyname, getrpcbynumber, getrpcent, endrpcent, setrpcent - different header file location (CrCh204)
Problem description
The netdb.h header file required by the getrpcbyname, getrpcbynumber, getrpcent, endrpcent, and setrpcent routines is the same on Tru64 UNIX and HP-UX, but is found in different locations.
On Tru64 UNIX, applications that use these APIs include the following line:
#include <rpc/netdb.h> Identifiers
 endrpcent |
 getrpcbynumber |
 setrpcent |
 getrpcbyname |
 getrpcent |
|
See also
Solution description
Modify code to include header file from correct location.
Review the applicable manpages and code. Change #include <rpc/netdb.h> to #include <netdb.h> for appropriate use of these routines. See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| NW |
C, C++ |
any HP-UX 11i version |
critical |
changed |
|