On Monday 08 March 2010 15:09:43 Denys Vlasenko wrote:
> This is the fix I'm going to apply in a few minutes:
>
> --- busybox.4/coreutils/wc.c 2010-01-12 22:15:16.000000000 +0100
> +++ busybox.5/coreutils/wc.c 2010-03-08 21:59:01.837629390 +0100
> @@ -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;
> }
Confirmed that it works. When's the next bugfix release due?
Rob
--
Latency is more important than throughput. It's that simple. - Linus Torvalds
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox