[BusyBox] Re: Fix for bug #1015
Erik Andersen
andersen at lineo.com
Wed Jul 5 17:35:59 UTC 2000
On Tue Jul 04, 2000 at 08:16:46PM -0700, Matt Kraai wrote:
> Howdy,
>
> Bug #1015 notes that the tr present in busybox does not recognize the
> standard escape sequences. Since the code to process them is already
> present in echo.c, I've split it into a separate function in utility.c.
> The net result on my machine (a pentium) is an overall savings of
> approximately 30 bytes for echo, and 2 bytes for tr. Unfortunately,
> this requires that pointer variables used to traverse argv[i] in both
> programs cannot be declared with the register keyword.
>
> As a side note, I tried writing process_escape_sequence to use returns
> for each case, but this ended up being larger.
>
> Matt
Excellent. Applied. If folks could test this, I would be glad to
be able to close this bug.
http://bugs.lineo.com/db/10/1015.html
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000705/bdfb8f6c/attachment.pgp
More information about the busybox
mailing list