From owner-cvs-all Wed Jul 18 23: 6: 6 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 9F4BE37B401; Wed, 18 Jul 2001 23:06:01 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: (from kris@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6J661Z34263; Wed, 18 Jul 2001 23:06:01 -0700 (PDT) (envelope-from kris) Message-Id: <200107190606.f6J661Z34263@freefall.freebsd.org> From: Kris Kennaway Date: Wed, 18 Jul 2001 23:06:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/add main.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG kris 2001/07/18 23:06:01 PDT Modified files: (Branch: RELENG_4) usr.sbin/pkg_install/add main.c Log: MFC: r1.38: Clean up some of the evil string handling in this code, replace warnx()+exit() with errx() and replace a big if..then..else construct to determine the package download directory with a lookup table. Revision Changes Path 1.29.2.10 +75 -45 src/usr.sbin/pkg_install/add/main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message