From owner-freebsd-commit Sat Dec 23 13:35:50 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA01437 for freebsd-commit-outgoing; Sat, 23 Dec 1995 13:35:50 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA01423 for cvs-all-outgoing; Sat, 23 Dec 1995 13:35:46 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA01416 for cvs-usrsbin-outgoing; Sat, 23 Dec 1995 13:35:42 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA01409 Sat, 23 Dec 1995 13:35:38 -0800 (PST) Date: Sat, 23 Dec 1995 13:35:38 -0800 (PST) From: Bill Paul Message-Id: <199512232135.NAA01409@freefall.freebsd.org> 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 Sender: owner-commit@FreeBSD.ORG Precedence: bulk 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