History log of /freebsd-10.3-release/usr.sbin/rmt/rmt.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 227259 06-Nov-2011 ed

Mark global functions and/or variables in rmt(8) static where possible.

This allows compilers and static analyzers to do more thorough analysis.


# 201387 02-Jan-2010 ed

ANSIfy some more tools in usr.sbin/.

Most of these tools build with WARNS=6, except for their use of K&R
function declarations.


# 133249 07-Aug-2004 imp

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


# 119729 04-Sep-2003 peter

There is no need to #include <sgtty.h>


# 114601 03-May-2003 obrien

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


# 99822 11-Jul-2002 alfred

WARNS=4, de-__P()


# 83096 05-Sep-2001 ache

atol -> strtoll, for file offset


# 80381 26-Jul-2001 sheldonh

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>


# 57155 12-Feb-2000 mjacob

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


# 50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 39264 15-Sep-1998 gibbs

Add support for the 'V'ersion rmt command.


# 30374 13-Oct-1997 charnier

Hide sccsid[]. Typo in man page.


# 22464 09-Feb-1997 imp

Buffer overflow from OpenBSD:
Rev 1.3 millert:
Fix potential buf oflow wrt strerror and sprintf.
Obtained from: OpenBSD


# 7707 09-Apr-1995 joerg

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.


# 1554 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1553,
which included commits to RCS files with non-trunk default branches.


# 1553 26-May-1994 rgrimes

BSD 4.4 Lite usr.sbin Sources