From owner-cvs-gnu Sun Nov 3 06:49:22 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA27594 for cvs-gnu-outgoing; Sun, 3 Nov 1996 06:49:22 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA27528; Sun, 3 Nov 1996 06:47:54 -0800 (PST) Date: Sun, 3 Nov 1996 06:47:54 -0800 (PST) From: Joerg Wunsch Message-Id: <199611031447.GAA27528@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-gnu Subject: cvs commit: src/gnu/usr.bin/tar extract.c rtapelib.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/11/03 06:47:53 Modified: gnu/usr.bin/tar extract.c rtapelib.c Log: Print out permissions that could not be re-established using 0%o instead of decimal. Also, don't use the `l' modifier for something that has just been cast to `int' anyway. Remove various bogus pathnames to look up rsh(1) at. Our rsh is in /usr/bin, but never in /usr/usb, nor would it ever be called remsh... Also, if it hasn't been found there, use execlp() to look it up. the latter is required for `weird' environments like a fixit floppy where the regular /usr/bin hiearrchy is not avaiable. tar should probably do it similar to dump/restore, and use rcmd(3) instead of forking an external process. Revision Changes Path 1.4 +3 -3 src/gnu/usr.bin/tar/extract.c 1.2 +3 -15 src/gnu/usr.bin/tar/rtapelib.c