diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 15:00:12 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 15:00:12 +0000 |
commit | 7792c21583f7131ad63a9cb6e25b7ef38652d3a7 (patch) | |
tree | 35ae86a1ec3a303f6ac7c0146111c635eff41fb4 /sysutils/copytape/files/patch-copytape.c_1 | |
parent | 41798f8399a11836022a4907c51bf17bbc2791f5 (diff) | |
download | ports-7792c21583f7131ad63a9cb6e25b7ef38652d3a7.tar.gz ports-7792c21583f7131ad63a9cb6e25b7ef38652d3a7.zip |
Notes
Diffstat (limited to 'sysutils/copytape/files/patch-copytape.c_1')
-rw-r--r-- | sysutils/copytape/files/patch-copytape.c_1 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/copytape/files/patch-copytape.c_1 b/sysutils/copytape/files/patch-copytape.c_1 new file mode 100644 index 000000000000..0be1bdc8d526 --- /dev/null +++ b/sysutils/copytape/files/patch-copytape.c_1 @@ -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) { |