aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-02-19 02:35:56 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-02-19 02:35:56 +0000
commit247f99f51f7dbda91a11010d545fb537cee8a67b (patch)
tree0e63e41cc6f3b9f5e8387fa364f994d252db903c /usr.sbin/pkg_install/lib
parentd7e0e5ca0f82c11324beedc8e7d256102e2ef965 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r--usr.sbin/pkg_install/lib/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index ac985308fa30..bddebab09f55 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: file.c,v 1.18 1995/10/31 20:30:18 jkh Exp $";
+static const char *rcsid = "$Id: file.c,v 1.19 1995/11/12 04:55:38 jkh Exp $";
#endif
/*
@@ -436,6 +436,7 @@ unpack(char *pkg, char *flist)
* Figure out by a crude heuristic whether this or not this is probably
* compressed.
*/
+ args[0] = '\0';
cp = rindex(pkg, '.');
if (cp) {
strcpy(suffix, cp + 1);