summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-28run_parts: I was wrong, NULL termination is already done becauseDenis Vlasenko
G is pre-initialized to 0.
2007-03-28run_parts: NULL-terminate list of arguments; fix perror/error usageDenis Vlasenko
2007-03-28ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)Denis Vlasenko
2007-03-28- rewrite run-partsBernhard Reutner-Fischer
text data bss dec hex filename 1029 0 0 1029 405 debianutils/run_parts.o-old 478 0 0 478 1de debianutils/run_parts.o-new-bare 600 0 0 600 258 debianutils/run_parts.o-new-full bare, i.e. without long opts and fancy stuff ./scripts/bloat-o-meter bb_old busybox_unstripped function old new delta act - 215 +215 run_parts_main 216 201 -15 valid_name 50 - -50 runparts_long_options 64 - -64 .rodata 124323 124163 -160 run_parts 513 - -513 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 0/2 up/down: 215/-802) Total: -587 bytes
2007-03-28- move additional fancy options not mandated by SUSv3 into a FANCY optionBernhard Reutner-Fischer
2007-03-28- fix formatting of help textBernhard Reutner-Fischer
2007-03-28- reinstate dmalloc and efence supportBernhard Reutner-Fischer
2007-03-28hdparm: flag variables can easily be smaller than longDenis Vlasenko
function old new delta process_dev 5247 5325 +78 bb_ioctl_on_off 72 78 +6 unregister_hwif 4 1 -3 ... perform_reset 4 1 -3 parse_xfermode 111 108 -3 noisy_piomode 4 1 -3 ... do_flush 4 1 -3 do_ctimings 4 1 -3 static.parm 4 - -4 static.multcount 4 - -4 parse_opts 54 48 -6 hdparm_main 1435 1383 -52 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/61 up/down: 84/-243) Total: -159 bytes
2007-03-28hdparm: remove stray static (-200 bytes bss)Denis Vlasenko
2007-03-28hdparm: whitespace style fixesDenis Vlasenko
2007-03-27pidfile creation mode set to 0666 (umask affects it as usual)Denis Vlasenko
2007-03-27forgotten svn add...Denis Vlasenko
2007-03-27make pidfile writing configurable.Denis Vlasenko
[ui]toa_to_buf: change API. No users yet.
2007-03-26remove_file: cosmetic code improvement, a few bytes savedDenis Vlasenko
2007-03-26diff: fix SEGV (NULL deref) in diff -NDenis Vlasenko
2007-03-26sed: a communal variable managed to slip past 'size'Denis Vlasenko
('size' happily displays 0 bytes in data and bss, but in reality sed.o used 180 bytes of it). Oh well. function old new delta pipe_putc 67 76 +9 sed_main 627 633 +6 get_next_line 161 166 +5 bbg 180 - -180 (add/remove: 0/1 grow/shrink: 3/0 up/down: 20/-180) Total: -160 bytes sed: also make sed -i failure message less cryptic
2007-03-26split: let me join bikeshed painting frenzy :)Denis Vlasenko
this one should be able to handle huge files. text data bss dec hex filename 664 4 0 668 29c busybox.t0/coreutils/split.o 628 0 0 628 274 busybox.t1/coreutils/split.o split_main 488 525 +37 suffix_len 4 - -4 next_file 77 - -77 (add/remove: 0/2 grow/shrink: 1/0 up/down: 37/-81) Total: -44 bytes
2007-03-26- check the suffix proper plus misc touch upBernhard Reutner-Fischer
2007-03-26zcip: make it work on NOMMU (+ improve NOMMU support machinery)Denis Vlasenko
fsck: fix bad English in a comment
2007-03-26- add usage for splitBernhard Reutner-Fischer
2007-03-26- implement suffices as required by SUSv3Bernhard Reutner-Fischer
- fix glitch in next_file (suffices were exhaused too early).
2007-03-26Attempt to get more applets compile for NOMMU.Denis Vlasenko
TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
2007-03-26pidfile.c: not used anymoreDenis Vlasenko
BTW, previous change removed pidfile locking, -700 code (static compile)
2007-03-26Move udhcp to new NOMMU helpers.Denis Vlasenko
Fix server part to compile under NOMMU. Client is not compilable yet. On MMU everything compiles (and maybe even works :)
2007-03-26move everything to new NOMMU helpers, except udhcpDenis Vlasenko
2007-03-26libbb: rework NOMMU helper API so that it makes more senseDenis Vlasenko
and easier to use. Doesn't compile - need two more commits.
2007-03-26nmeter: should die if stdout doesn't like him anymoreDenis Vlasenko
2007-03-26- shrink a tiny bit (-8b)Bernhard Reutner-Fischer
2007-03-25add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko
2007-03-25- rough prototype for split(1). TODO: Still needs some love since it's way ↵Bernhard Reutner-Fischer
too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o
2007-03-24inetd,ed,msh: data/bss reduction (in mss, more than 9k of it)Denis Vlasenko
2007-03-24login: nuke nonblock() - we have it in libbb; -400 bytes bss.Denis Vlasenko
2007-03-24#ifdef out re_execed on MMU machinesDenis Vlasenko
2007-03-24adduser: don't bomb out if shadow password file doesn't existDenis Vlasenko
(from Tito <farmatito@tiscali.it>)
2007-03-24random style fixes (extra spaces deleted)Denis Vlasenko
2007-03-24SELinux: load_policy applet - this time with svn addDenis Vlasenko
2007-03-24SELinux: load_policy appletDenis Vlasenko
2007-03-24dc: use common_bufsiz1 for evaluation stackDenis Vlasenko
msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged
2007-03-24dnsd: last commit had a typo :(Denis Vlasenko
2007-03-24dnsd: fix several buglets, make smallerDenis Vlasenko
2007-03-24NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko
option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
2007-03-24applets.c, xfunc.c: style cleanupDenis Vlasenko
2007-03-24inetd: indent labels uniformlyDenis Vlasenko
2007-03-22Announce 1.5.0 and move svn to 1.6.0.svnDenis Vlasenko
2007-03-22This revision is busybox 1.5.0Denis Vlasenko
2007-03-22assorted fixes uncovered by randomconfig runsDenis Vlasenko
2007-03-22interface: revert part of commit 18120 (eth aliases work again)Denis Vlasenko
2007-03-22gzip: fix -d option handlingDenis Vlasenko
2007-03-22ifconfig: support (by ignoring it) "inet" before IP address or hostnameDenis Vlasenko
2007-03-21vi: fix signed char-induced potential bugsDenis Vlasenko