diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-28 20:01:31 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-28 20:01:31 +0200 |
commit | 58cdca3984beb4e1019ef5ccf1dd7361f032a9a6 (patch) | |
tree | 922928fdb79cbdb6a02ffbeab7948c03ad501656 /coreutils/wc.c | |
parent | e52b735231bda70d811e4f9ef0e21fb2c7af96a2 (diff) | |
download | busybox-w32-58cdca3984beb4e1019ef5ccf1dd7361f032a9a6.tar.gz busybox-w32-58cdca3984beb4e1019ef5ccf1dd7361f032a9a6.tar.bz2 busybox-w32-58cdca3984beb4e1019ef5ccf1dd7361f032a9a6.zip |
apply post-1.16.0 fixes, bump version to 1.16.11_16_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/wc.c')
-rw-r--r-- | coreutils/wc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/wc.c b/coreutils/wc.c index 08f3c2dc4..711684225 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c | |||
@@ -88,6 +88,8 @@ int wc_main(int argc UNUSED_PARAM, char **argv) | |||
88 | if (!argv[0]) { | 88 | if (!argv[0]) { |
89 | *--argv = (char *) bb_msg_standard_input; | 89 | *--argv = (char *) bb_msg_standard_input; |
90 | fname_fmt = "\n"; | 90 | fname_fmt = "\n"; |
91 | } | ||
92 | if (!argv[1]) { /* zero or one filename? */ | ||
91 | if (!((print_type-1) & print_type)) /* exactly one option? */ | 93 | if (!((print_type-1) & print_type)) /* exactly one option? */ |
92 | start_fmt = "%"COUNT_FMT; | 94 | start_fmt = "%"COUNT_FMT; |
93 | } | 95 | } |