Commit Graph

9 Commits

Author SHA1 Message Date
Andrey A. Chernov
5d078bb36b atol -> strtoll, for file offset 2001-09-05 17:05:31 +00:00
Sheldon Hearn
e1b4d8d074 Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
Matt Jacob
f08566c3cf Minimum necessary change: return no more than 24 bytes of data for the
'S' status call- this was the size of the original mtget structure. Don't
bother to map the current mtget structure to an old one- for version 0
RMT it's meaningless because it's all binary data anyway, and it's only the
wierd edge case of Solaris 7 starting to use the 'S' status call that has
tickled this issue- and this MNC fixes that issue.

We need to implement Version 1 RMT anyway.

Approved: jkh@freebsd.org

PR:		14946
2000-02-12 01:14:33 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Justin T. Gibbs
eeda31acc3 Add support for the 'V'ersion rmt command. 1998-09-15 10:30:25 +00:00
Philippe Charnier
12873ebf56 Hide sccsid[]. Typo in man page. 1997-10-13 11:06:30 +00:00
Warner Losh
c50189d7ba Buffer overflow from OpenBSD:
Rev 1.3 millert:
	Fix potential buf oflow wrt strerror and sprintf.
Obtained from: OpenBSD
1997-02-09 05:09:05 +00:00
Joerg Wunsch
a3e026396c The rmt protocol didn't allow to pass a file creation mode (permission
bits) along, and rmt did the wrong thing in calling open(2) with random
garbage as third parameter.  Make it create new files with 0666
(modified by the umask of the remote shell anyway).

This removed the last show-stopper from tar not working with remote
archives.
1995-04-09 09:20:47 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00