summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rmt/rmt.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark global functions and/or variables in rmt(8) static where possible.ed2011-11-061-12/+12
| | | | This allows compilers and static analyzers to do more thorough analysis.
* ANSIfy some more tools in usr.sbin/.ed2010-01-021-7/+3
| | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations.
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-071-4/+0
| | | | (with permission of addtional copyright holders where appropriate)
* There is no need to #include <sgtty.h>peter2003-09-041-1/+0
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* WARNS=4, de-__P()alfred2002-07-111-14/+12
|
* atol -> strtoll, for file offsetache2001-09-051-1/+1
|
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-261-9/+9
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Minimum necessary change: return no more than 24 bytes of data for themjacob2000-02-121-1/+3
| | | | | | | | | | | | | | '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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add support for the 'V'ersion rmt command.gibbs1998-09-151-1/+7
|
* Hide sccsid[]. Typo in man page.charnier1997-10-131-1/+5
|
* Buffer overflow from OpenBSD:imp1997-02-091-1/+1
| | | | | | Rev 1.3 millert: Fix potential buf oflow wrt strerror and sprintf. Obtained from: OpenBSD
* The rmt protocol didn't allow to pass a file creation mode (permissionjoerg1995-04-091-1/+6
| | | | | | | | | 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.
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+244
OpenPOWER on IntegriCloud