summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-07-04 18:23:52 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-07-04 18:23:52 +0000
commit415a27826ea73d18d079f853b98e3f59138e7abb (patch)
tree719b79146b8836d24b63b60ba82021a88696cad0 /usr.sbin
parentfea10b6c94f5bec12718c06530ab5157e80a5f50 (diff)
Let pkg_add use tar -q.
(This could have been done by using pax -n, but since pkg_* is so badly written, it's harder to hunt down all the code using tar and fix it to use the right options. If this code were written properly, there would be one clean entry point to processing archives, and it would be trivial to switch archivers...)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/add/perform.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c
index 92171970390..ae5321e6531 100644
--- a/usr.sbin/pkg_install/add/perform.c
+++ b/usr.sbin/pkg_install/add/perform.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: perform.c,v 1.6 1998/10/13 23:09:49 marc Exp $ */
+/* $OpenBSD: perform.c,v 1.7 1999/07/04 18:23:51 espie Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: perform.c,v 1.6 1998/10/13 23:09:49 marc Exp $";
+static const char *rcsid = "$OpenBSD: perform.c,v 1.7 1999/07/04 18:23:51 espie Exp $";
#endif
/*
@@ -137,13 +137,8 @@ pkg_do(char *pkg)
warnx("can't stat package file '%s'", pkg_fullname);
goto bomb;
}
-#if 0
snprintf(extract_contents, sizeof( extract_comments ),
- "--fast-read %s", CONTENTS_FNAME);
-#else
- snprintf(extract_contents, sizeof( extract_contents ),
- "%s", CONTENTS_FNAME);
-#endif
+ "-q %s", CONTENTS_FNAME);
extract = extract_contents;
}
else {