projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add "make help"
[oweals/busybox.git]
/
coreutils
/
cat.c
diff --git
a/coreutils/cat.c
b/coreutils/cat.c
index 86527576728f23f837ad2a316fa47f5311bbcb87..62af6c5d54495c384df9f6f2fb65fc393f4698b9 100644
(file)
--- a/
coreutils/cat.c
+++ b/
coreutils/cat.c
@@
-54,7
+54,7
@@
extern int cat_main(int argc, char **argv)
do {
if ((f = bb_wfopen_input(*argv)) != NULL) {
- int r = bb_copyfd
(fileno(f), STDOUT_FILENO, 0
);
+ int r = bb_copyfd
_eof(fileno(f), STDOUT_FILENO
);
bb_fclose_nonstdin(f);
if (r >= 0) {
continue;