summaryrefslogtreecommitdiff
path: root/coreutils/cat.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-08 15:41:01 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-08 15:41:01 +0000
commit97bd0e05ccef27563b4403c24952f0abec8eb6cf (patch)
treeae7970506abbd5f5fec7eafa77eba9d46e4204cb /coreutils/cat.c
parent7dbf1b4d9eb0eca9c98cfdd0d37d6ce3b8f09e0c (diff)
downloadbusybox-w32-97bd0e05ccef27563b4403c24952f0abec8eb6cf.tar.gz
busybox-w32-97bd0e05ccef27563b4403c24952f0abec8eb6cf.tar.bz2
busybox-w32-97bd0e05ccef27563b4403c24952f0abec8eb6cf.zip
README: doccument the need of CONFIG_DESKTOP
od: fix help text to include -t od: handle /proc files (which have filesize 0) correctly od: fix comments to not lie about return value od: "%u" is 1 byte less than "%zu" cat: fix English
Diffstat (limited to 'coreutils/cat.c')
-rw-r--r--coreutils/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c
index a1db4cd45..18a74b81d 100644
--- a/coreutils/cat.c
+++ b/coreutils/cat.c
@@ -30,7 +30,7 @@ int bb_cat(char **argv)
30 if (!LONE_DASH(*argv)) 30 if (!LONE_DASH(*argv))
31 fd = open_or_warn(*argv, O_RDONLY); 31 fd = open_or_warn(*argv, O_RDONLY);
32 if (fd >= 0) { 32 if (fd >= 0) {
33 /* This is not an xfunc - never exits */ 33 /* This is not a xfunc - never exits */
34 off_t r = bb_copyfd_eof(fd, STDOUT_FILENO); 34 off_t r = bb_copyfd_eof(fd, STDOUT_FILENO);
35 if (fd != STDIN_FILENO) 35 if (fd != STDIN_FILENO)
36 close(fd); 36 close(fd);