Commit Graph

12 Commits

Author SHA1 Message Date
imp
0b20191705 remove __P 2002-03-22 01:42:45 +00:00
markm
b7a2b7c5dd Fix the time of an intmax_t calculation; it is unsigned. Also print
it with the correct formatting (%ju, not %lld). GCC's -Wformat does
not understand this, so turn on NO_WERROR.
2001-12-12 22:46:56 +00:00
markm
7f940dc06c WARNS=2 fixes. use __FBSDID(). 2001-12-11 23:44:53 +00:00
peter
46b62d9c13 Initialize msg in main() 2001-08-13 21:58:16 +00:00
obrien
84709752a1 Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,
and remove leading `r'(aw) from it.
2001-03-08 09:04:40 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
billf
4822432874 Clean up some ambiguous nested if/elses. 1999-07-04 17:26:16 +00:00
phk
ca402ccf60 Tcopy uses 32 bit unsigned to accumulate a count of bytes read/written.
That doesn't work well for tapes over 4G.

I use tcopy a lot to write images of a tape to tape as tape to tape
copying is terribly slow. Slower than it should be. Quickly found out
tcopy can not rewind a file when doing copy/verify.

PR:		11386
Submitted by:	David Kelly dkelly@hiwaay.net
Reviewed by:	phk
1999-04-30 13:13:32 +00:00
charnier
baddffcb88 Use err(3). Correct usage string. Change default tape to /dev/rst0. 1997-08-14 06:41:00 +00:00
imp
141381e1cb compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
phk
c3cebb2932 Make the counters unsigned longs so that tapes don't contain negative
number of bytes.
1995-12-31 09:00:24 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00