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/lib Pull up revision 1.28 (request...



details:   https://anonhg.NetBSD.org/src/rev/d17749cf0027
branches:  netbsd-1-5
changeset: 490370:d17749cf0027
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 15 04:08:08 2000 +0000

description:
Pull up revision 1.28 (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/lib/ftpio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r c623649c0fe0 -r d17749cf0027 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c  Fri Dec 15 04:07:35 2000 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c  Fri Dec 15 04:08:08 2000 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: ftpio.c,v 1.20.2.6 2000/10/18 03:17:26 tv Exp $        */
+/*     $NetBSD: ftpio.c,v 1.20.2.7 2000/12/15 04:08:08 he Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.20.2.6 2000/10/18 03:17:26 tv Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.20.2.7 2000/12/15 04:08:08 he Exp $");
 #endif
 
 /*
@@ -521,7 +521,7 @@
                 * we can't use the pkg wildcards here as dewey compare
                 * and alternates won't be handled by ftp(1); sort
                 * out later, using pmatch() */
-               (void) snprintf(buf,  sizeof(buf), "nlist %*.*s*.tgz %s\n",
+               (void) snprintf(buf,  sizeof(buf), "nlist %*.*s*.t[bg]z %s\n",
                          (int)(s-pkg), (int)(s-pkg), pkg, tmpname);
        }
        



Home | Main Index | Thread Index | Old Index