Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/pkg_install/admin Pull up revision 1.17 (reque...
details: https://anonhg.NetBSD.org/src/rev/e6e1e108871a
branches: netbsd-1-5
changeset: 490366:e6e1e108871a
user: he <he%NetBSD.org@localhost>
date: Fri Dec 15 04:06:05 2000 +0000
description:
Pull up revision 1.17 (requested by hubertf):
Accept ``.tbz'' as an alternative suffix; compress with bzip2 if
a .tbz suffix is given. Fix pkg_info to work via ftp, either
via URL on command line or from PKG_PATH environment variable.
diffstat:
usr.sbin/pkg_install/admin/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 8d46a8070879 -r e6e1e108871a usr.sbin/pkg_install/admin/main.c
--- a/usr.sbin/pkg_install/admin/main.c Fri Dec 15 04:05:44 2000 +0000
+++ b/usr.sbin/pkg_install/admin/main.c Fri Dec 15 04:06:05 2000 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: main.c,v 1.13 2000/05/08 22:48:42 hubertf Exp $ */
+/* $NetBSD: main.c,v 1.13.4.1 2000/12/15 04:06:05 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.13 2000/05/08 22:48:42 hubertf Exp $");
+__RCSID("$NetBSD: main.c,v 1.13.4.1 2000/12/15 04:06:05 he Exp $");
#endif
/*
@@ -427,7 +427,7 @@
dir = dirname_of(*argv);
basep = basename_of(*argv);
- snprintf(base, sizeof(base), "%s.tgz", basep);
+ snprintf(base, sizeof(base), "%s.t[bg]z", basep);
fchdir(saved_wd);
rc = chdir(dir);
@@ -466,7 +466,7 @@
dir = dirname_of(*argv);
basep = basename_of(*argv);
- snprintf(base, sizeof(base), "%s.tgz", basep);
+ snprintf(base, sizeof(base), "%s.t[bg]z", basep);
fchdir(saved_wd);
rc = chdir(dir);
Home |
Main Index |
Thread Index |
Old Index