aboutsummaryrefslogtreecommitdiff
path: root/coreutils/expr.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-04-10- very minor shrinkage (-3b)Bernhard Reutner-Fischer2-5/+7
2007-04-10- use skip_non_whitespace() where appropriateBernhard Reutner-Fischer3-7/+3
2007-04-10- add prototype for str_tolower()Bernhard Reutner-Fischer1-0/+2
2007-04-10- add libbb function str_tolower to convert a string to lowercase.Bernhard Reutner-Fischer3-56/+63
- shrink wget a bit
2007-04-09make xfunctions optionally longjump instead of exit.Denis Vlasenko10-24/+39
use it for making NOFORK more practical. touch: make it a NOFORK applet
2007-04-09factor out NOFORK/NOEXEC code from find. Use it for xargs too.Denis Vlasenko4-68/+76
2007-04-09xargs: shrink code, ~80 bytesDenis Vlasenko2-77/+80
applets.h: +#undef APPLET_NOEXEC
2007-04-09wait4pid: if passed with pid < 0, do not set errno - it is already set by exec!Denis Vlasenko2-34/+33
2007-04-09Implement first instance of NOFORK applet - echoDenis Vlasenko6-50/+77
find: use NOFORK/NOEXEC; small -exec buglet also eliminated vfork_daemon_rexec: honor PREFER_APPLETS echo: small size improvements find -exec echo {} \; with PREFER_APPLETS=y runs 4 times faster
2007-04-09busybox: fix "<applet>: applet not found" messageDenis Vlasenko1-1/+5
2007-04-09Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC appletsDenis Vlasenko5-93/+65
and now this fact is recorded in applets.h, not ash.c. Several fixes to "--help + STANDALONE_SHELL" scenarios. function old new delta run_current_applet_and_exit - 355 +355 arith 2064 2073 +9 refresh 1148 1156 +8 getopt32 1068 1073 +5 telnet_main 1510 1514 +4 md5_sha1_sum_main 565 566 +1 xstrtoul_range_sfx 255 251 -4 packed_usage 22523 22514 -9 tryexec 255 203 -52 static.safe_applets 152 - -152 .rodata 131320 131128 -192 run_applet_by_name 869 506 -363 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 5/5 up/down: 382/-772) Total: -390 bytes ./busybox ash -c 'i=20000; while test $i != 0; do touch z; i=$((i-1)); done' runs more than twice as fast with STANDALONE_SHELL versus without.
2007-04-09msh: smallish code shrinkage; cosmeticsDenis Vlasenko1-68/+58
2007-04-09merge busybox.c into applets.cDenis Vlasenko6-209/+199
2007-04-08applets.h: de-obfuscateDenis Vlasenko1-26/+35
2007-04-08add some missed statics on constant objects.Denis Vlasenko10-35/+40
fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped