projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3271751
)
remove unused clearerr statements
author
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 12 Apr 2001 10:17:22 +0000
(10:17 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 12 Apr 2001 10:17:22 +0000
(10:17 -0000)
libbb/copy_file_chunk.c
patch
|
blob
|
history
diff --git
a/libbb/copy_file_chunk.c
b/libbb/copy_file_chunk.c
index e887cbe9f9ede9f03e660eeda80105d2a33772e6..90b6b823874263ee7c99a45463b762f781aadd14 100644
(file)
--- a/
libbb/copy_file_chunk.c
+++ b/
libbb/copy_file_chunk.c
@@
-37,8
+37,6
@@
extern int copy_file_chunk(FILE *src_file, FILE *dst_file, off_t chunksize)
off_t size, amount_written;
char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */
- clearerr(src_file);
- clearerr(dst_file);
while (chunksize > 0) {
if (chunksize > BUFSIZ) {
size = BUFSIZ;