Age | Commit message (Collapse) | Author |
|
|
|
|
|
wget: lift 256 chars limitation on terminal width
|
|
|
|
|
|
(by Thomas Lundquist <lists@zelow.no>)
|
|
FEATURE_SH_STANDALONE_SHELL => FEATURE_SH_STANDALONE
FEATURE_EXEC_PREFER_APPLETS => FEATURE_PREFER_APPLETS
Make SH_STANDALONE depend on PREFER_APPLETS.
getopt.c: more randomconfig-induced fixes
|
|
rename sllep_and_die -> xfunc_die
make fflush_stdout_and_exit NOFORK-safe
fix some buglets found by randomconfig
|
|
Put big scary warnings in relevant places.
|
|
use it for making NOFORK more practical.
touch: make it a NOFORK applet
|
|
applets.h: +#undef APPLET_NOEXEC
|
|
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
|
|
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.
|
|
|
|
|
|
children for several streams of udp packets tested to work)
code size: -509 bytes
|
|
|
|
It's a GPL-ed 'clone' of Dan Bernstein's tcpserver.
Author: Gerrit Pape <pape@smarden.org>
http://smarden.sunsite.dk/ipsvd/
size tcpsvd.o
text data bss dec hex filename
2571 4 16 2591 a1f tcpsvd.o
|
|
too big..
text data bss dec hex filename
602 4 0 606 25e coreutils/split.o
|
|
|
|
|
|
text data bss dec hex filename
769 0 0 769 301 miscutils/chrt.o
and could use some further shrinkage
|
|
|
|
|
|
"Eric Spakman" <E.Spakman@inter.nl.net>
|
|
|
|
Remove busybox_main from applet table since
it is called via separate check
|
|
|
|
text data bss dec hex filename
2999 0 0 2999 bb7 networking/libiproute/iprule.o
|
|
|
|
It even seems to work. +11K. :(
|
|
|
|
text data bss dec hex filename
288 0 0 288 120 console-tools/_resize.o.gcc-2.95
258 0 0 258 102 console-tools/_resize.o.gcc-3.3
252 0 0 252 fc console-tools/_resize.o.gcc-3.4
|
|
Thomas Jarosch (email?) and
Bernhard Fischer <rep.nop@aon.at>
|
|
|
|
Fix build proble on x86_64
|
|
It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
|
|
However their code was unusably different from sysvinit original.
Run tested.
|
|
|
|
text data bss dec hex filename
185 0 0 185 b9 console-tools/resize.o
255 0 0 255 ff console-tools/resize.o.print
|
|
|
|
teach scripts/individual new tricks. And while I'm at it, teach
scripts/individual other new tricks. Now builds 198 applets, some of which
I should teach it to hardlink together because they're really the same app...
|
|
|
|
|
|
and nobody seemed interested in fixing it despite repeated complaints.
I'll worry about it in the 1.3 timeframe...
|
|
|
|
text data bss dec hex filename
584 0 0 584 248 taskset.o.gcc-2.95
509 0 0 509 1fd taskset.o.gcc-3.3
505 0 0 505 1f9 taskset.o.gcc-3.4
506 0 0 506 1fa taskset.o.gcc-4.0
498 0 0 498 1f2 taskset.o.gcc-4.1
495 0 0 495 1ef taskset.o.gcc-4.2-HEAD
|
|
|
|
|
|
the following of which (from cat.c) belongs in svn history instead of the
source code:
/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
*
* This is a new implementation of 'cat' which aims to be SUSv3 compliant.
*
* Changes from the previous implementation include:
* 1) Multiple '-' args are accepted as required by SUSv3. The previous
* implementation would close stdin and segfault on a subsequent '-'.
* 2) The '-u' options is required by SUSv3. Note that the specified
* behavior for '-u' is done by default, so all we need do is accept
* the option.
*/
|