From 328d3170fdcd46938b3e64e8dff43996f2b5d4d1 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 8 Dec 1996 14:19:50 +0000 Subject: Merge tar's version of rtapelib, namely the changes as of rev 1.2. Both files used to be identical previously, so they are again now. --- gnu/usr.bin/cpio/rtapelib.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'gnu/usr.bin/cpio') diff --git a/gnu/usr.bin/cpio/rtapelib.c b/gnu/usr.bin/cpio/rtapelib.c index eece76f..0c23b06 100644 --- a/gnu/usr.bin/cpio/rtapelib.c +++ b/gnu/usr.bin/cpio/rtapelib.c @@ -372,28 +372,16 @@ __rmt_open (path, oflag, mode, bias) if (*login) { - execl ("/usr/ucb/rsh", "rsh", system, "-l", login, + execl ("/usr/bin/rsh", "rsh", "-l", login, system, "/etc/rmt", (char *) 0); - execl ("/usr/bin/remsh", "remsh", system, "-l", login, - "/etc/rmt", (char *) 0); - execl ("/usr/bin/rsh", "rsh", system, "-l", login, - "/etc/rmt", (char *) 0); - execl ("/usr/bsd/rsh", "rsh", system, "-l", login, - "/etc/rmt", (char *) 0); - execl ("/usr/bin/nsh", "nsh", system, "-l", login, + execlp ("rsh", "rsh", "-l", login, system, "/etc/rmt", (char *) 0); } else { - execl ("/usr/ucb/rsh", "rsh", system, - "/etc/rmt", (char *) 0); - execl ("/usr/bin/remsh", "remsh", system, - "/etc/rmt", (char *) 0); execl ("/usr/bin/rsh", "rsh", system, "/etc/rmt", (char *) 0); - execl ("/usr/bsd/rsh", "rsh", system, - "/etc/rmt", (char *) 0); - execl ("/usr/bin/nsh", "nsh", system, + execlp ("rsh", "rsh", system, "/etc/rmt", (char *) 0); } -- cgit v1.1