Bug in wc.

Rob Landley rob at landley.net
Tue Mar 30 00:09:59 UTC 2010


On Sunday 28 March 2010 23:13:22 Denys Vlasenko wrote:
> 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?
>
> 1.16.1 has been released today.

I rebuilt the set of statically linked more or less defconfig busybox binaries 
for various targets and uploaded them Morris, see 
http://busybox.net/downloads/binaries/1.16.1

By the way, if you need statically linked strace for the same set of targets 
(sometimes useful, it's come up here on this list a couple times), you can find 
that (and dropbear) at http://impactlinux.com/fwl/downloads/binaries

(Or at least you should once it finishes uploading.  I just cut a new release 
of my own project... :)

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list