From owner-cvs-usrsbin Sun Jan 19 19:33:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA08220 for cvs-usrsbin-outgoing; Sun, 19 Jan 1997 19:33:40 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA08211; Sun, 19 Jan 1997 19:33:38 -0800 (PST) Date: Sun, 19 Jan 1997 19:33:38 -0800 (PST) From: Bill Paul Message-Id: <199701200333.TAA08211@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv yp_dblookup.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 97/01/19 19:33:37 Modified: usr.sbin/ypserv yp_dblookup.c Log: Fix bug that slipped through last big round of changes: sometimes yp_next_record() is called without a key (from xdr_my_ypresp_all()), in which case it returns the first key in the map. When doing this, it also needs to update the key index in the map queue entry. Without this, ypproc_all_2_svc() (and hence ypcat) don't work correctly. Noticed by: Michael L. Hench Revision Changes Path 1.12 +6 -1 src/usr.sbin/ypserv/yp_dblookup.c