From owner-cvs-all Tue Jan 16 0:27:54 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 02F7F37B6A2; Tue, 16 Jan 2001 00:27:31 -0800 (PST) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0G8RUC08811; Tue, 16 Jan 2001 00:27:30 -0800 (PST) (envelope-from sobomax) Message-Id: <200101160827.f0G8RUC08811@freefall.freebsd.org> From: Maxim Sobolev Date: Tue, 16 Jan 2001 00:27:30 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/create main.c perform.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sobomax 2001/01/16 00:27:30 PST Modified files: usr.sbin/pkg_install/create main.c perform.c Log: - Fix a nasty bug where pkg_create doesn't gzip package if lengh of package name is less than 5 and doesn't contain recognizeable suffix (one of .tar or .tgz), while gzip's it if lengh of the name greater than 4. For example `pkg_create [options] pkg1' will create pkg1.tar, while `pkg_create [options] pkg11' will create pkg11.tgz; - use TRUE/FALSE as a values for boolean variables instead of explicit 1/0 and erroneous YES in one case. MFC candidate. Revision Changes Path 1.23 +5 -5 src/usr.sbin/pkg_install/create/main.c 1.52 +2 -5 src/usr.sbin/pkg_install/create/perform.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message