summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/disks.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-03-19 19:27:03 +0000
committerwpaul <wpaul@FreeBSD.org>1996-03-19 19:27:03 +0000
commit11fb5722e2f671a26c53af2c2c4ddf4dbf12be4b (patch)
treecd59ad0e690643c8b6023b96daa9498d50f76123 /usr.sbin/sysinstall/disks.c
parentc3a3da90acb3b15f258282d3528051435b1b817d (diff)
downloadFreeBSD-src-11fb5722e2f671a26c53af2c2c4ddf4dbf12be4b.zip
FreeBSD-src-11fb5722e2f671a26c53af2c2c4ddf4dbf12be4b.tar.gz
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.
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud