]> git.decadent.org.uk Git - nfs-utils.git/commit
nfs-utils: Replace getservbyname(3)
authorChuck Lever <chuck.lever@oracle.com>
Thu, 5 Mar 2009 11:13:33 +0000 (06:13 -0500)
committerSteve Dickson <steved@redhat.com>
Thu, 5 Mar 2009 11:13:33 +0000 (06:13 -0500)
commit2f3c0dc6908f534341f4dd24c44dcfbea7c7b253
tree9c95686e73c479b60de7f40561cbfdbf75178107
parent71cbf46e564621d4cd2af61c384a79b2c0174a36
nfs-utils: Replace getservbyname(3)

The getservbyname(3) function is not re-entrant, and anyway,
the man page says it is obsolete.  Replace it with a call
to getaddrinfo(3).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/include/nfsrpc.h
support/nfs/getport.c
support/nfs/rpc_socket.c