freebsd-skq/lib/libc/yp
wpaul 9f9cef3ee4 Fix for bug noticed by Christoph Kukulies.
_yp_dobind() checks to see if a fork() happens (by checking PIDs) and
invalidates all bindings if it finds itself in a newly created child
process. (This avoids sharing RPC client handles and socket descriptors
with the parent, which would be bad.) Unfortunately, it summarily
calls clnt_destroy() on the handles, which may result in the destruction
of a descriptor that isn't really a socket.

This is fixed by replacing the explicit call to clnt_destroy() with a
call to _yp_unbind(), which deals with potentially hosed socket descriptors
an a safe manner.

This is basically a one-liner. Once I confirm that it fixes Christoph's
problem, I'd like permission to put it in the 2.2-RELENG branch.
1996-12-20 19:41:15 +00:00
..
Makefile.inc Now that rpcgen is squared away, arrange to have all the NIS XDR routines 1995-12-14 05:16:45 +00:00
xdryp.c Code clean up: 1996-06-03 13:16:53 +00:00
yplib.c Fix for bug noticed by Christoph Kukulies. 1996-12-20 19:41:15 +00:00