Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/pkg_install/lib Pullup 1.25->1.26
details: https://anonhg.NetBSD.org/src/rev/ab150fa67bf9
branches: netbsd-1-4
changeset: 468173:ab150fa67bf9
user: hubertf <hubertf%NetBSD.org@localhost>
date: Mon Apr 12 03:10:06 1999 +0000
description:
Pullup 1.25->1.26
Make retrieval of packages via ftp work again by using an absolute filename
for the execl() call of tar(1).
diffstat:
usr.sbin/pkg_install/lib/file.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r e7efb8174b50 -r ab150fa67bf9 usr.sbin/pkg_install/lib/file.c
--- a/usr.sbin/pkg_install/lib/file.c Mon Apr 12 02:55:47 1999 +0000
+++ b/usr.sbin/pkg_install/lib/file.c Mon Apr 12 03:10:06 1999 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: file.c,v 1.25 1999/03/15 08:57:12 christos Exp $ */
+/* $NetBSD: file.c,v 1.25.2.1 1999/04/12 03:10:06 hubertf Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
#else
-__RCSID("$NetBSD: file.c,v 1.25 1999/03/15 08:57:12 christos Exp $");
+__RCSID("$NetBSD: file.c,v 1.25.2.1 1999/04/12 03:10:06 hubertf Exp $");
#endif
#endif
@@ -311,8 +311,8 @@
tpid = fork();
if (!tpid) {
dup2(fileno(ftp), 0);
- i = execl(TAR_CMD, TAR_CMD, Verbose ? "-xzvf" : "-xzf", "-", 0);
- exit(i);
+ i = execl(TAR_FULLPATHNAME, TAR_CMD, Verbose ? "-xzvf" : "-xzf", "-", 0);
+ err(i, TAR_FULLPATHNAME " failed");
}
else {
int pstat;
Home |
Main Index |
Thread Index |
Old Index