Small change for ls

Denis Vlasenko vda.linux at googlemail.com
Sat Jun 16 21:34:00 UTC 2007


On Saturday 16 June 2007 23:16, Loïc Grenié wrote:
> I've done the following for the ls applet:
> 
> 1) Correct a typo in the toplevel Makefile
> 2) Correct a type in ls.c
> 3) Change the option checking: removed the
> if (flags & ..._TRIGGER) all_fmt &= ..._MASK;
> and changed them to a precompiled table, single &, single |.
> 
> Effect: -4bytes on .o (i386), 0 bytes on executable. Side effect:
> 1<<31 is available for another option if needed.
> 
> Feel free to include in the source code or to flame appropriately.

Care to resend as unified diff? (diff -u).
--
vda



More information about the busybox mailing list