summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-22chown: do not use static dataDenis Vlasenko
function old new delta chown_main 160 182 +22 fileAction 750 744 -6 ugid 8 - -8
2008-07-22cut: stop using static data. This alone removed ~70 bytes of code.Denis Vlasenko
+ some optimizations function old new delta nlists 4 - -4 cut_lists 4 - -4 cut_main 1041 960 -81
2008-07-22cal: remove lone static data variable. -4 bytes. coreutilsDenis Vlasenko
is down to four applets with nonzero data+bss.
2008-07-22- unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXPBernhard Reutner-Fischer
2008-07-21libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko
(by Valdimir) function old new delta config_open2 - 41 +41 config_read 507 542 +35 find_pair 169 187 +18 fopen_for_write - 14 +14 fopen_for_read - 14 +14 find_main 406 418 +12 xfopen_for_write - 10 +10 xfopen_for_read - 10 +10 popstring 134 140 +6 parse_inittab 396 401 +5 next_token 923 928 +5 pack_gzip 1659 1661 +2 bb__parsespent 117 119 +2 fallbackSort 1719 1717 -2 evalvar 1376 1374 -2 qrealloc 36 33 -3 ... ... ... ... singlemount 4579 4569 -10 process_stdin 443 433 -10 patch_main 1111 1101 -10 ifupdown_main 2175 2165 -10 file_action_grep 90 80 -10 uuidcache_init 649 637 -12 hush_main 797 785 -12 read_config 230 217 -13 dpkg_main 3835 3820 -15 read_line_input 3134 3110 -24 sysctl_main 232 203 -29 config_open 40 10 -30 WARN_BAD_LINE 44 - -44 login_main 1714 1575 -139 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
2008-07-21whitespace fixes, no code changedDenis Vlasenko
2008-07-21- commentary typo fixBernhard Reutner-Fischer
2008-07-21- first pass to unify/cleanup uid handling (-236b)Bernhard Reutner-Fischer
This needs further love, alot of love.. Tito?
2008-07-21- fix spellingBernhard Reutner-Fischer
2008-07-21- s/super.block/superblock/g; # for consistency; -1bBernhard Reutner-Fischer
2008-07-21- remove superfluous forward declarationBernhard Reutner-Fischer
2008-07-21- document -fBernhard Reutner-Fischer
2008-07-21- commentary typo fixBernhard Reutner-Fischer
2008-07-21- no obj-code changes. Fix indentation, use existing defines.Bernhard Reutner-Fischer
2008-07-21telnet: shrinkDenis Vlasenko
telnetd: shrink, and fix issue file printing test: better and shorter usage text function old new delta putiac2 51 50 -1 putiac 24 20 -4 handlenetoutput 95 91 -4 telnet_main 1480 1475 -5 iacflush 37 32 -5 make_new_session 436 421 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-34) Total: -34 bytes
2008-07-21help text: test --help doesnt print it (by design),Denis Vlasenko
so do not account for it
2008-07-20httpd: add Hopedir directive specially forDenis Vlasenko
(and by) walter harms <wharms AT bfs.de>; fix silly double-parse bug added in 21412. function old new delta parse_conf 1532 1576 +44
2008-07-20msh: fix "while...continue" bug 3884.Denis Vlasenko
2008-07-20build system: clean more files on make clean/make mrproperDenis Vlasenko
2008-07-20udhcp: use libbb for config file parsing (by Vladimir)Denis Vlasenko
function old new delta read_config 313 230 -83
2008-07-20libbb/parse_config.c: fix small buglet (by Vladimir)Denis Vlasenko
2008-07-20dnsd,sestatus: use libbb to parse config file (by Vladimir)Denis Vlasenko
function old new delta dnsd_main 1544 1487 -57
2008-07-20man: fix breakage: must not die on lines with < 2 tokensDenis Vlasenko
2008-07-20mn: use libbb for config parsing (by Vladimir)Denis Vlasenko
function old new delta man_main 757 713 -44
2008-07-20tar: fix handling of tarballs with symlinks with size field != 0Denis Vlasenko
2008-07-20libbb: fix print_flags() [fix somehow is only in 1.11.1?)Denis Vlasenko
2008-07-20libbb: fixes to config_read() by maintainerDenis Vlasenko
sysctl: use config_read() function old new delta sysctl_main 121 232 +111 config_read 478 502 +24 parse_main 239 241 +2 sysctl_preload_file_and_exit 234 - -234 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 3/0 up/down: 137/-234) Total: -97 bytes
2008-07-19libbb: config_read() updateDenis Vlasenko
2008-07-19mount: support nfs mount option nordiplus.Denis Vlasenko
By Octavian Purdila <opurdila AT ixiacom.com> function old new delta static.options 272 281 +9 daemonize 130 107 -23 singlemount 4674 4579 -95 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 9/-118) Total: -109 bytes
2008-07-19libbb: updated config_parse() from VladimirDenis Vlasenko
function old new delta config_read 385 460 +75 runsvdir_main 1701 1716 +15 readit 331 338 +7 passwd_main 1049 1053 +4 parse_command 1504 1507 +3 decode_format_string 822 824 +2 bb__parsespent 117 119 +2 udhcp_get_option 221 222 +1 changepath 196 194 -2 parse_inittab 400 396 -4 nameif_main 683 679 -4 make_device 1176 1172 -4 config_open 48 40 -8 expand_main 698 689 -9 readcmd 1012 1002 -10 config_free_data 37 21 -16 SynchronizeFile 683 643 -40 sleep_main 474 362 -112 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 8/10 up/down: 109/-209) Total: -100 bytes
2008-07-19test: fix parser to prefer binop over unop, as coreutils does.Denis Vlasenko
remove bogus workaround in main(). rename atrocious variables/functions. much expand testsuite. libbb: fix --help to not affect "test --help" function old new delta run_applet_no_and_exit 421 440 +19 nexpr 817 825 +8 static.no_op - 6 +6 test_main 397 257 -140 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 2/1 up/down: 104/-211) Total: -107 bytes
2008-07-18printf: do not print garbage on "%Ld". closes bug 4214.Denis Vlasenko
function old new delta printf_main 633 637 +4 multiconvert 99 79 -20 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-20) Total: -16 bytes
2008-07-18libbb: fix bb_strtol[l]'s check for "-". Hopefully closes bug 4174Denis Vlasenko
function old new delta bb_strtol 82 85 +3 handle_errors 75 66 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 3/-9) Total: -6 bytes
2008-07-18printf: fix %b, fix several bugs in %*.*, fix compat issues withDenis Vlasenko
aborting too early, support %zd; expand testsuite function old new delta get_width_prec - 46 +46 multiconvert 82 99 +17 conv_strtod 44 54 +10 print_direc 382 391 +9 printf_main 629 633 +4 conv_strtoul 20 16 -4 conv_strtol 20 16 -4 my_xstrtoul 20 - -20 my_xstrtol 20 - -20 my_xstrtod 21 - -21 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 4/2 up/down: 86/-69) Total: 17 bytes
2008-07-18- fix compilation for mips (Brian Daniels)Bernhard Reutner-Fischer
2008-07-17vi: using array data after it fell out of scope is stupid.Denis Vlasenko
2008-07-17sendmail: update from the maintainerDenis Vlasenko
2008-07-17pidof/killall: allow find_pid_by_name to find runningDenis Vlasenko
processes started as scripts_with_name_longer_than_15_bytes.sh closes bug 4054 (and is generally neat)
2008-07-17update READMEDenis Vlasenko
2008-07-17build system: fix indentation in config menuDenis Vlasenko
2008-07-17init: fix compile-time error; fix exiting on broken config fileDenis Vlasenko
parse_config: cosmetics
2008-07-17- very minor shrinkage (-9b)Bernhard Reutner-Fischer
2008-07-17- fix "noreduce" flag of config_read (didn't work at all, at least for me).Bernhard Reutner-Fischer
- convert init's inittab parsing to the new config parser: function old new delta config_read 393 386 -7 static.actions 72 64 -8 .rodata 121772 121764 -8 parse_inittab 554 393 -161 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-184) Total: -184 bytes
2008-07-17- fix segfault in nameif with mactab fileBernhard Reutner-Fischer
(by fixing and shrink config parser) function old new delta config_free_data - 37 +37 config_open 43 48 +5 pack_gzip 1658 1660 +2 nameif_main 527 525 -2 SynchronizeFile 629 623 -6 make_device 1184 1176 -8 config_close 31 18 -13 config_read 431 393 -38 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/5 up/down: 44/-67) Total: -23 bytes
2008-07-17printf: protect against bogus format specifiers. Hopefully closes bug 4184Denis Vlasenko
2008-07-17bb_strtoXXX: close bug 4174 (potential use of buf[-1])Denis Vlasenko
2008-07-17- warn about overlong lines in help-textsBernhard Reutner-Fischer
I initially bailed out with an error, but then that's a bit rough. Just warn to trick somebody into fixing them..
2008-07-16config help fixesDenis Vlasenko
2008-07-16fix up callsites of config_read to check for >= 0Denis Vlasenko
2008-07-16update of config file parser from VladimirDenis Vlasenko