]> git.decadent.org.uk Git - nfs-utils.git/commit
mount: getport: don't use getaddrinfo(3) on old systems
authorChuck Lever <chuck.lever@oracle.com>
Tue, 6 Jan 2009 17:08:33 +0000 (12:08 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 6 Jan 2009 17:08:33 +0000 (12:08 -0500)
commite9dbcba18defacbee9b5a48ddea9f6d3449b34e9
tree98cd232e0f0e2bc7495b0c370534657f4ae801b7
parent632650fa1a0b358f9d8d617cfd115a334c4b9b66
mount: getport: don't use getaddrinfo(3) on old systems

Older glibc versions have a getaddrinfo(3) that doesn't support
AI_ADDRCONFIG.  Detect that case and build something else for
getport.c that will work adequately on those systems.

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