freebsd-dev/lib/libc
Bill Paul 08aff01b5d Fix yp_all() so that it doesn't bogusly return YP_NOMORE at the end
of a successful map retrieval. (This has to do with a previous change
to xdr_ypresp_all_seq() and ypxfr_get_map(); originally, yp_all()
would look for a return value of YP_FALSE to signal success, but now
it should be looking for YP_NOMORE. It should not be passing YP_NOMORE
back up to the caller though.)

Noticed by:  <aagero@aage.priv.no>

There is also another small bug here, which is that the call to
xdr_free() that happens immediately after the clnt_call() in yp_all()
clobbers the return status value. I've worked around this for now,
but I think the xdr_free() is actually bogus and should be removed.
I want to check some more before I do that though.
1996-03-19 19:27:03 +00:00
..
amd64
compat-43
db
gen alarm -> ualarm. 1996-03-19 13:53:00 +00:00
gmon
i386
locale
net gethostbynis.c: 1996-03-16 21:25:59 +00:00
nls
quad
regex
rpc Work around a bug in the Sun rpc code. This fixes a problem where 1996-03-17 20:12:53 +00:00
stdio
stdlib
stdtime
string
sys Update the current sigaction(2) man page to current reality.. 1996-03-03 14:52:54 +00:00
xdr
yp Fix yp_all() so that it doesn't bogusly return YP_NOMORE at the end 1996-03-19 19:27:03 +00:00
Makefile