From: hjl Date: Thu, 12 Sep 2002 21:06:16 +0000 (+0000) Subject: 2002-09-12 H.J. Lu X-Git-Tag: nfs-utils-1-0-2-pre2~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385;hp=87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385 2002-09-12 H.J. Lu * configure.in: Check svctcp_socket and svcudp_socket. * configure: Regenerated. * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New. (HAVE_SVCUDP_SOCKET): New. * support/include/nfslib.h (svctcp_socket): New. (svcudp_socket): New. * support/nfs/Makefile (OBJS): Add svc_socket.o. * support/nfs/svc_socket.c: New. * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and svcudp_socket if port is unspecified. * utils/nfsd/nfsd.c (main): Call getservbyname for port. * utils/rquotad/rquota_svc.c: Include . (killer): New. Signal handler to unregister. (main): Use killer. Call svcudp_socket to get the default socket. ---