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 rev. 1.23 up to netbsd...
details: https://anonhg.NetBSD.org/src/rev/59978515ad87
branches: netbsd-1-5
changeset: 489302:59978515ad87
user: hubertf <hubertf%NetBSD.org@localhost>
date: Tue Aug 29 04:13:15 2000 +0000
description:
Pull up rev. 1.23 up to netbsd-1-5 branch, OK'd by thorpej
> Make pkg_add & friends print the files they push through tar(1) to
> stderr, thus making them visible. (tar's stdout goes somewhere else)
diffstat:
usr.sbin/pkg_install/lib/ftpio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 43a1d4c205d2 -r 59978515ad87 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c Tue Aug 29 01:47:42 2000 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c Tue Aug 29 04:13:15 2000 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: ftpio.c,v 1.20.2.2 2000/08/29 01:44:26 hubertf Exp $ */
+/* $NetBSD: ftpio.c,v 1.20.2.3 2000/08/29 04:13:15 hubertf Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.20.2.2 2000/08/29 01:44:26 hubertf Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.20.2.3 2000/08/29 04:13:15 hubertf Exp $");
#endif
/*
@@ -612,7 +612,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 -f - )\"\n", pkg, dir, Verbose?"vv":"");
+ (void) snprintf(cmd, sizeof(cmd), "get %s \"| ( cd %s ; gunzip 2>/dev/null | tar -%sx >&2 -f - )\"\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