summaryrefslogtreecommitdiff
path: root/coreutils/cat.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:25:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-26 23:25:17 +0000
commitddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (patch)
treef4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /coreutils/cat.c
parentf0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff)
downloadbusybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.gz
busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.bz2
busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.zip
rename functions to more understandable names
Diffstat (limited to 'coreutils/cat.c')
-rw-r--r--coreutils/cat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c
index 10eb29c4d..a95980552 100644
--- a/coreutils/cat.c
+++ b/coreutils/cat.c
@@ -26,10 +26,10 @@ int cat_main(int argc, char **argv)
26 } 26 }
27 27
28 do { 28 do {
29 f = bb_wfopen_input(*argv); 29 f = fopen_or_warn_stdin(*argv);
30 if (f) { 30 if (f) {
31 off_t r = bb_copyfd_eof(fileno(f), STDOUT_FILENO); 31 off_t r = bb_copyfd_eof(fileno(f), STDOUT_FILENO);
32 bb_fclose_nonstdin(f); 32 fclose_if_not_stdin(f);
33 if (r >= 0) { 33 if (r >= 0) {
34 continue; 34 continue;
35 } 35 }