busybox current status

Roberto A. Foglietta roberto.foglietta at gmail.com
Sat Dec 2 21:48:39 UTC 2006


2006/12/1, Denis Vlasenko <vda.linux at googlemail.com>:
> On Thursday 30 November 2006 13:20, Roberto A. Foglietta wrote:
>
> > > To do:
> > >
> > > * more fishing in bug database
> >
> > the bug n.615 still open and I have updated patch to 1.2.2.1 and today
> > snapshot (in attachment)
> > http://bugs.busybox.net/view.php?id=615
>
> -               if (temp) {
> -                       *no_newline = !(len && temp[len-1] == '\n');
> +               if (temp && len > 0) {
> +                       endzero += !temp[len-1];
> +                       *no_newline = !(temp[len-1]=='\n');
>                         if (!*no_newline) temp[len-1] = 0;
>                         break;
>
> old code: if len == 0: 'break' is taken
> new code: if len == 0: 'break' is not taken
> is it ok?
>

I tested your patch but it seems it does not work at least against
with 2006-12-01

 Cheers,
-- 
/roberto



More information about the busybox mailing list