Mercurial > hg > aboriginal
view sources/patches/busybox-wc.patch @ 1003:6d3db5bf731a
Make the native build timeout configurable.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 18 Mar 2010 05:44:47 -0500 |
parents | bd6cc5603989 |
children |
line wrap: on
line source
--- busybox.4/coreutils/wc.c +++ busybox.5/coreutils/wc.c @@ -88,6 +88,8 @@ int wc_main(int argc UNUSED_PARAM, char if (!argv[0]) { *--argv = (char *) bb_msg_standard_input; fname_fmt = "\n"; + } + if (!argv[1]) { if (!((print_type-1) & print_type)) /* exactly one option? */ start_fmt = "%"COUNT_FMT; }