Age | Commit message (Collapse) | Author |
|
ps: fix warning, make a bit smaller
kill -l: make smaller & know much more signals
function old new delta
get_signum 121 153 +32
kill_main 826 843 +17
get_signame 44 36 -8
signals 252 224 -28
.rodata 131955 131923 -32
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/3 up/down: 49/-68) Total: -19 bytes
|
|
|
|
(fix by Jacques LUDER <jacques.luder@thalesgroup.com>)
|
|
|
|
|
|
|
|
untangle them:
Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the
signal list to that required by posix (they can specify the numbers for
the rest if they really need them). (This is preparatory cleanup for adding
a timeout applet like Roberto Foglietta wants.)
Export the itoa (added due to Denis Vlasenko, although it's not quite his
preferred implementation) from xfuncs.c so it's actually used, and remove
several other redundant implementations of itoa and utoa() in the tree.
|
|
Thanks to Rich Felker for pointing this out.
|
|
- include the correct headers: applets need busybox.h while lib* need libbb.h
|
|
|
|
|
|
-Erik
|
|
|