From c28fb3c8935a8308d20d08bd45e1fa637a6f69bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 9 May 1996 21:50:42 +0000 Subject: Cleanups in sunrpc code from NIIBE Yutaka . * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1. * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's RPC_ANYSOCK. * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since CLNT_DESTROY already has. (pmap_unset): Likewise. * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise. * sunrpc/pm_getport.c (pmap_getport): Likewise. * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. * sunrpc/portmap.c (callit): Likewise. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9d0fa76502..85bd1734cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ Thu May 9 09:17:46 1996 Roland McGrath + Cleanups in sunrpc code from NIIBE Yutaka . + * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1. + * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's + RPC_ANYSOCK. + * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since + CLNT_DESTROY already has. + (pmap_unset): Likewise. + * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise. + * sunrpc/pm_getport.c (pmap_getport): Likewise. + * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. + * sunrpc/portmap.c (callit): Likewise. + * Makerules (versioned): Strip whitespace. * Rules (static-only-routines rule): Remove spurious space in dep. -- cgit v1.2.3