[BusyBox] Re: ash.c patch for xxreadtoken

Vladimir N. Oleynik dzo at simtreas.ru
Mon Aug 13 08:59:38 UTC 2001


Manuel Novoa III wrote:
> 
> vodz and Aaron,
> 
> 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.
> 
> Manuel
> 
>   --------------------------------------------------------------------------------
>                           Name: xxreadtoken.diff.gz
>    xxreadtoken.diff.gz    Type: unspecified type (application/octet-stream)
>                       Encoding: base64

Goo work. Hardly this code requires strong testing ;-)    
I think a design:
table[(int)(pointer-start_pointer)]
will look more correctly if to omit this additional transformation: (int)
(type difference poinetrs >= int).


--w
vodz





More information about the busybox mailing list