Bug in wc.
Denys Vlasenko
vda.linux at googlemail.com
Fri Mar 12 22:10:54 UTC 2010
On Tuesday 09 March 2010 16:45, Rob Landley wrote:
> 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?
Perhaps this weekend.
--
vda
More information about the busybox
mailing list