[BusyBox] Today's ash improvements

Aaron Lehmann aaronl at vitelus.com
Fri Aug 3 11:05:56 UTC 2001


On Fri, Aug 03, 2001 at 11:03:37AM -0600, Matt Kraai wrote:
> > 1) is_digit() uses only one comparison now. ((c)>='0' && (c)<='9') was
> > replaced with ((unsigned)(c) - '0' <= 9). Neat trick, eh?
> 
> What is wrong with isdigit from <ctype.h>?

Big locale mess with glibc, plus a function call. I get 32 bytes
less binary size with my version, FWIW.





More information about the busybox mailing list