[BusyBox] Re: ash.c patch for xxreadtoken

Vladimir N. Oleynik dzo at simtreas.ru
Tue Aug 14 01:20:27 UTC 2001


Manuel Novoa III wrote:
> 
> vodz,
> 
> On Mon, Aug 13, 2001 at 08:31:24PM +0400, Vladimir N. Oleynik wrote:
> > > Here's a patch I whipped up this morning to reduce the size of xxreadtoken.
> > > Saves 240 bytes for me.  Seems to work, but I haven't checked it thoroughly
> > > and I won't have time to this morning.  Give it a try if you like.
> >
> > I reduce 4 bytes and "goto". ;-))
> 
> Your patch didn't apply cleanly, and I didn't have time today to apply it by
> hand.  However, here is a slightly cleaned up version of my patch from this
> morning.  Generates 16 bytes less code for me the my earlier patch.
> 
> I probably won't have much time to work on ash.c for at least a week... maybe
> two.  Just letting you know it might be a while before I reply to any messages.
> 
> Manuel
> 
>   --------------------------------------------------------------------------------
>                            Name: xxreadtoken.diff2.gz
>    xxreadtoken.diff2.gz    Type: unspecified type (application/octet-stream)
>                        Encoding: base64

Now you патч is less. If to remove goto that they as it is a pity, but will be
razed to the ground on size. You looked realization strcpy in
libbb/simpify_path.c?


--w
vodz





More information about the busybox mailing list