[BusyBox] Re: ash.c patch for xxreadtoken

Manuel Novoa III mjn3 at busybox.net
Tue Aug 14 10:16:01 UTC 2001


vodz,

On Tue, Aug 14, 2001 at 11:20:20AM +0400, Vladimir N. Oleynik wrote:
> Manuel Novoa III wrote:
> > 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.
>
> Now you ÐÁÔÞ is less. If to remove goto that they as it is a pity, but will be
> razed to the ground on size.

That didn't translate clearly.

> You looked realization strcpy in libbb/simpify_path.c?

Since you asked, I just took a look.  Why all the redundant copying in
simplify_path() ?  Even though I shouldn't have taken the time, attached
is a version of simplify_path() that doesn't do all the extra copying.
For me, it is 100 bytes smaller.

Manuel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: simplify_path.c
Type: text/x-csrc
Size: 688 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20010814/9cce634f/attachment.c 


More information about the busybox mailing list