Date: Sat, 23 Dec 1995 13:35:38 -0800 (PST) From: Bill Paul <wpaul> To: CVS-committers, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv Makefile yp_dblookup.c yp_extern.h yp_main.c yp_server.c Message-ID: <199512232135.NAA01409@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 95/12/23 13:35:38
Modified: usr.sbin/ypserv Makefile yp_dblookup.c yp_extern.h
yp_main.c yp_server.c
Log:
A few small tweaks related to ypxfr:
- Add a ypxfr_callback() function that we can use to signal failure to
yppush(8) in the event that we can't fork()/exec() ypxfr(8). yppush
only checks the return status from YPPROC_XFR enough to determine
that the RPC succeded: it relies on its callback service to figure
out whether or not the transfer actually worked.
- Give yp_dblookup.c its own debug variable (ypdb_debug) so that DB
access debugging messages can be turned on or off independent of the
program's global debug messages.
- Have the Makefile rpcgen the ypushresp_xfr_1() client stub for us and
nuke the unneeded rule for yp_xdr.c that I left in by mistake (the XDR
filters live in libc now).
Revision Changes Path
1.3 +7 -7 src/usr.sbin/ypserv/Makefile
1.2 +8 -8 src/usr.sbin/ypserv/yp_dblookup.c
1.2 +2 -1 src/usr.sbin/ypserv/yp_extern.h
1.2 +5 -5 src/usr.sbin/ypserv/yp_main.c
1.2 +62 -16 src/usr.sbin/ypserv/yp_server.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512232135.NAA01409>
