diff options
author | Justin M. Seger <jseger@FreeBSD.org> | 1998-12-20 21:14:43 +0000 |
---|---|---|
committer | Justin M. Seger <jseger@FreeBSD.org> | 1998-12-20 21:14:43 +0000 |
commit | 6299cff8f67fe10b62dc29dd6a9f0a9378ada978 (patch) | |
tree | 3c0ad50358b4de48ed7bdf65350e6f8caf227de4 /sysutils/copytape/files/patch-aa | |
parent | Add tidy (www/tidy) and the HTML stylesheets (textproc/html) to the (diff) |
Import of copytape 1.0
Copytape duplicates magtapes. It is intended for duplication of
bootable or other non-file-structured (non-tar-structured) magtapes
on systems with only one tape drive. Copytape is blissfully ignorant
of tape formats. It merely makes a bit-for-bit copy of its input.
PR: ports/8454
Submitted by: sjr@home.net
Notes
Notes:
svn path=/head/; revision=15450
Diffstat (limited to 'sysutils/copytape/files/patch-aa')
-rw-r--r-- | sysutils/copytape/files/patch-aa | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/copytape/files/patch-aa b/sysutils/copytape/files/patch-aa new file mode 100644 index 000000000000..0be1bdc8d526 --- /dev/null +++ b/sysutils/copytape/files/patch-aa @@ -0,0 +1,20 @@ +--- copytape.c.orig Fri Oct 23 17:23:06 1998 ++++ copytape.c Fri Oct 23 17:23:46 1998 +@@ -36,7 +36,7 @@ + + extern int errno; + +-#define BUFLEN 262144 /* max tape block size */ ++#define BUFLEN (1024*1024) /* max tape block size */ + #define TAPE_MARK -100 /* return record length if we read a + * tape mark */ + #define END_OF_TAPE -101 /* 2 consecutive tape marks */ +@@ -149,7 +149,7 @@ + len = input(from); + } while (len > 0); + if (len == FORMAT_ERROR) { +- perror(stderr, "copytape: format error on skip"); ++ perror("copytape: format error on skip"); + exit(-1); + }; + if (len == END_OF_TAPE) { |