summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-31uniq: getopt32-ization. -38 bytes.Denis Vlasenko
2007-03-31unzip: fix xstrndup bug (xstrndup(s,n) can allocate less than n bytes!)Denis Vlasenko
2007-03-30- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..Bernhard Reutner-Fischer
2007-03-30- debloat test. untested.Bernhard Reutner-Fischer
text data bss dec hex filename 3154 0 172 3326 cfe test.o.oorig 2683 0 172 2855 b27 test.o This applet should be rewritten not to use such odd lexer semantics. It duplicates code from all over the place (see XXX). brrr
2007-03-30- fix bug where we did not reject invalid classes like '[[:alpha'Bernhard Reutner-Fischer
- debloat while at it: text data bss dec hex filename 1554 0 19 1573 625 tr.o.oorig 1357 0 16 1373 55d tr.o
2007-03-30introduce the concept of LDLIBS for additional libraries so that when we do ↵Mike Frysinger
the final link, the objects/libraries are in the correct order
2007-03-29traceroute: move data off bss. small code optimizations.Denis Vlasenko
function old new delta traceroute_main 4358 4397 +39 verbose 13 9 -4 useicmp 4 - -4 nflag 4 - -4 split_suffices 40 24 -16 route 16 - -16 dumpleases_main 392 357 -35 gwlist 36 - -36 whereto 128 - -128 wherefrom 128 - -128 packet 512 - -512 ------------------------------------------------------------------------------ (add/remove: 0/7 grow/shrink: 1/3 up/down: 39/-883) Total: -844 bytes
2007-03-29dpkg: run_package_script() returns 0 if all ok and non-zero if failure.Denis Vlasenko
The result code was checked incorrectly in two places. (from "Kim B. Heino" <Kim.Heino@bluegiga.com>)
2007-03-29dumpleases: getopt32()-izationDenis Vlasenko
(from Mats Erik Andersson <mats.andersson64@comhem.se>)
2007-03-29- use index_in_str_array also for find_mainBernhard Reutner-Fischer
text data bss dec hex filename 2605 1 12 2618 a3a find.o.r18274 2602 1 12 2615 a37 find.o.r18275
2007-03-29- remove bloated switch statement.Bernhard Reutner-Fischer
text data bss dec hex filename 2706 1 12 2719 a9f find.o.r18273 2605 1 12 2618 a3a find.o.r18274
2007-03-29- implement a TODO: Use index_in_str_array in parse_paramsBernhard Reutner-Fischer
text data bss dec hex filename 2771 1 12 2784 ae0 find.o.r18272 2749 1 12 2762 aca find.o.-try-switch 2706 1 12 2719 a9f find.o.r18273
2007-03-29- Purely cosmetic type fiddlingBernhard Reutner-Fischer
2007-03-29- fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
2007-03-28- update defconfigBernhard Reutner-Fischer
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