]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix a nasty bug where pkg_create doesn't gzip package if lengh of package
authorsobomax <sobomax@FreeBSD.org>
Tue, 16 Jan 2001 08:27:28 +0000 (08:27 +0000)
committersobomax <sobomax@FreeBSD.org>
Tue, 16 Jan 2001 08:27:28 +0000 (08:27 +0000)
commitf1f3937ff22dfd5e0f3fa04ab769ccb7fe9a18f7
treeae904b98a3e41fd88e5976bab928810acff045eb
parent546b85a8456a42f91a7a548183f036931e5b3344
- 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.
usr.sbin/pkg_install/create/main.c
usr.sbin/pkg_install/create/perform.c