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.27 (request...



details:   https://anonhg.NetBSD.org/src/rev/84a550e5e596
branches:  netbsd-1-5
changeset: 490927:84a550e5e596
user:      he <he%NetBSD.org@localhost>
date:      Tue Mar 20 18:13:06 2001 +0000

description:
Pull up revision 1.27 (requested by hubertf):
  Various changes / updates:
   o various minor bugfixes and spelling fixes

diffstat:

 usr.sbin/pkg_install/lib/ftpio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 547d921f3c04 -r 84a550e5e596 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c  Tue Mar 20 18:12:39 2001 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c  Tue Mar 20 18:13:06 2001 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: ftpio.c,v 1.20.2.7 2000/12/15 04:08:08 he Exp $        */
+/*     $NetBSD: ftpio.c,v 1.20.2.8 2001/03/20 18:13:06 he Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.20.2.7 2000/12/15 04:08:08 he Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.20.2.8 2001/03/20 18:13:06 he Exp $");
 #endif
 
 /*
@@ -643,7 +643,7 @@
                        printf("unpackURL '%s' to '%s'\n", url, dir);
 
                /* yes, this is gross, but needed for borken ftp(1) */
-               (void) snprintf(cmd, sizeof(cmd), "get %s \"| ( cd %s ; gunzip 2>/dev/null | tar -%sx >&2 -f - )\"\n", pkg, dir, Verbose?"vv":"");
+               (void) snprintf(cmd, sizeof(cmd), "get %s \"| ( cd %s ; gunzip 2>/dev/null | tar -%sx -f - | tee /dev/stderr )\"\n", pkg, dir, Verbose?"vv":"");
                rc = ftp_cmd(cmd, "\n(226|550).*\n");
                if (rc != 226) {
                        warnx("Cannot fetch file (%d!=226)!", rc);



Home | Main Index | Thread Index | Old Index