From owner-cvs-all Fri Jan 12 3:36:37 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E748C37B402; Fri, 12 Jan 2001 03:36:13 -0800 (PST) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0CBaDn10226; Fri, 12 Jan 2001 03:36:13 -0800 (PST) (envelope-from sobomax) Message-Id: <200101121136.f0CBaDn10226@freefall.freebsd.org> From: Maxim Sobolev Date: Fri, 12 Jan 2001 03:36:13 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/create pl.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sobomax 2001/01/12 03:36:13 PST Modified files: usr.sbin/pkg_install/create pl.c Log: Fix a bug where pkg_create does not make an md5 entry for the last item in the packing list. Also use switch() instead of zillion "else if ()" and for() loop instead of while() loop for traversing through linked list. MFC candidate. Submitted by: Alec Wolman Revision Changes Path 1.15 +17 -12 src/usr.sbin/pkg_install/create/pl.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message