From owner-cvs-libexec Sat Feb 3 21:18:46 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA27598 for cvs-libexec-outgoing; Sat, 3 Feb 1996 21:18:46 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA27589 Sat, 3 Feb 1996 21:18:45 -0800 (PST) Date: Sat, 3 Feb 1996 21:18:45 -0800 (PST) From: Bill Paul Message-Id: <199602040518.VAA27589@freefall.freebsd.org> To: CVS-committers, cvs-libexec Subject: cvs commit: src/libexec/ypxfr ypxfr_getmap.c ypxfr_misc.c Sender: owner-cvs-libexec@FreeBSD.ORG Precedence: bulk wpaul 96/02/03 21:18:45 Modified: libexec/ypxfr ypxfr_getmap.c ypxfr_misc.c Log: ypxfr_getmap.c: - Handle 'empty' maps more gracefully. By empty I mean a valid map that just happens not to have any entries in it, such as you would get if you built a map database from an empty file. Previously, trying to ypxfr such a map would yield an 'NIS map/database error' which is not the correct behavior. ypxfr_misc: - Make sure to free() or xdr_free() dynamically allocated memory in ypxfr_get_master() as necessary. Revision Changes Path 1.2 +5 -2 src/libexec/ypxfr/ypxfr_getmap.c 1.2 +30 -11 src/libexec/ypxfr/ypxfr_misc.c