summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* libbb: config_read() updateDenis Vlasenko2008-07-194-18/+16
|
* mount: support nfs mount option nordiplus.Denis Vlasenko2008-07-191-24/+32
| | | | | | | | | | | | 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
* libbb: updated config_parse() from VladimirDenis Vlasenko2008-07-1910-54/+206
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* test: fix parser to prefer binop over unop, as coreutils does.Denis Vlasenko2008-07-193-71/+256
| | | | | | | | | | | | | | | 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
* printf: do not print garbage on "%Ld". closes bug 4214.Denis Vlasenko2008-07-182-6/+20
| | | | | | | | | | 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
* libbb: fix bb_strtol[l]'s check for "-". Hopefully closes bug 4174Denis Vlasenko2008-07-181-8/+22
| | | | | | | | | 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
* printf: fix %b, fix several bugs in %*.*, fix compat issues withDenis Vlasenko2008-07-182-87/+200
| | | | | | | | | | | | | | | | | | | 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
* - fix compilation for mips (Brian Daniels)Bernhard Reutner-Fischer2008-07-181-1/+1
|
* vi: using array data after it fell out of scope is stupid.Denis Vlasenko2008-07-171-6/+8
|
* sendmail: update from the maintainerDenis Vlasenko2008-07-171-51/+58
|
* pidof/killall: allow find_pid_by_name to find runningDenis Vlasenko2008-07-175-23/+53
| | | | | | processes started as scripts_with_name_longer_than_15_bytes.sh closes bug 4054 (and is generally neat)
* update READMEDenis Vlasenko2008-07-171-6/+4
|
* build system: fix indentation in config menuDenis Vlasenko2008-07-171-2/+6
|
* init: fix compile-time error; fix exiting on broken config fileDenis Vlasenko2008-07-172-25/+21
| | | | | parse_config: cosmetics
* - very minor shrinkage (-9b)Bernhard Reutner-Fischer2008-07-171-4/+4
|
* - fix "noreduce" flag of config_read (didn't work at all, at least for me).Bernhard Reutner-Fischer2008-07-172-16/+76
| | | | | | | | | | | | - 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
* - fix segfault in nameif with mactab fileBernhard Reutner-Fischer2008-07-175-59/+59
| | | | | | | | | | | | | | | | | (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
* printf: protect against bogus format specifiers. Hopefully closes bug 4184Denis Vlasenko2008-07-172-9/+19
|
* bb_strtoXXX: close bug 4174 (potential use of buf[-1])Denis Vlasenko2008-07-171-6/+5
|
* - warn about overlong lines in help-textsBernhard Reutner-Fischer2008-07-172-0/+9
| | | | I initially bailed out with an error, but then that's a bit rough. Just warn to trick somebody into fixing them..
* config help fixesDenis Vlasenko2008-07-163-3/+3
|
* fix up callsites of config_read to check for >= 0Denis Vlasenko2008-07-164-5/+5
|
* update of config file parser from VladimirDenis Vlasenko2008-07-164-177/+52
|
* sendmail: do not discard all headersDenis Vlasenko2008-07-161-3/+11
|
* cpio: make long opts depend only on ENABLE_GETOPT_LONGDenis Vlasenko2008-07-161-1/+1
|
* install: do not chown intermediate directories with install -d; shrinkDenis Vlasenko2008-07-161-47/+28
| | | | | | | | | | | (by Natanael Copa) function old new delta .rodata 171528 171511 -17 install_main 841 697 -144 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-161) Total: -161 bytes
* s/SELINIX/SELINUX/Denis Vlasenko2008-07-161-3/+3
|
* libbb: get rid of statics in dump.c; code shrinks a lot tooDenis Vlasenko2008-07-164-200/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta alloc_dumper - 26 +26 hexdump_main 600 601 +1 static.done 1 - -1 static.ateof 1 - -1 bb_dump_vflag 1 - -1 static.savp 4 - -4 static.nextfs 4 - -4 static.curp 4 - -4 exitval 4 - -4 endfu 4 - -4 bb_dump_length 4 - -4 bb_dump_fshead 4 - -4 bb_dump_blocksize 4 - -4 _argv 4 - -4 bb_dump_add 365 358 -7 savaddress 8 - -8 eaddress 8 - -8 bb_dump_skip 8 - -8 address 8 - -8 bb_dump_dump 2748 2672 -76 next 538 445 -93 ------------------------------------------------------------------------------ (add/remove: 1/16 grow/shrink: 1/3 up/down: 27/-247) Total: -220 bytes text data bss dec hex filename 789458 607 6764 796829 c289d busybox_old 789309 601 6696 796606 c27be busybox_unstripped
* tee: fix infinite looping on open error (echo asd | tee "")Denis Vlasenko2008-07-161-1/+3
|
* od,hexdump: fix bug where xrealloc may move pointer,Denis Vlasenko2008-07-162-69/+75
| | | | | | leaving other pointers dangling (bug 4104). + many style fixes in libbb/dump.c.
* mdev: support for serializing hotplugDenis Vlasenko2008-07-152-3/+51
| | | | | | function old new delta mdev_main 503 647 +144
* sleep: make fractional seconds separately selectable in .configDenis Vlasenko2008-07-153-10/+25
|
* libbb: document plans to speed up line-based inputDenis Vlasenko2008-07-152-3/+15
|
* libbb: unified config parser (By Vladimir Dronnikov)Denis Vlasenko2008-07-154-56/+295
| | | | | | | | | | | | | | | | | | | | | | mdev: use it function old new delta config_read - 400 +400 config_open - 43 +43 config_close - 9 +9 qrealloc 33 36 +3 compare_keys 735 737 +2 xstrtoull_range_sfx 296 295 -1 qgravechar 109 106 -3 get_address 181 178 -3 next_token 928 923 -5 sv_main 1228 1222 -6 find_main 418 406 -12 next_field 32 - -32 make_device 1269 1184 -85 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/7 up/down: 457/-147) Total: 310 bytes
* sendmail: do not ignore CC; accept to: and cc: case-insensitively.Denis Vlasenko2008-07-151-1/+1
| | | | | +20 bytes.
* libbb: experimental faster string reading routines.Denis Vlasenko2008-07-152-1/+75
|
* comm: almost total rewrite; add testsuiteDenis Vlasenko2008-07-153-56/+61
| | | | | | | | | function old new delta writeline 128 125 -3 comm_main 540 239 -301 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-304) Total: -304 bytes
* ls: fix a bug where we may use uninintialized variableDenis Vlasenko2008-07-151-5/+6
|
* tee: "-" is a name for stdout, handle it that wayDenis Vlasenko2008-07-151-4/+7
|
* insmod: users report that "|| defined(__powerpc__)" is missingDenis Vlasenko2008-07-141-1/+2
|
* hush: fix "... pattern) cmd;; esac" caseDenis Vlasenko2008-07-142-3/+27
|
* hush: delete unused field in struct child.Denis Vlasenko2008-07-142-16/+95
| | | | | | reinstate needed check for invalid syntax. document command parsing in hush_doc.txt.
* hush: add case statement support. It is incomplete and disabled for now.Denis Vlasenko2008-07-141-45/+147
| | | | | costs ~300 bytes when enabled.
* ash: small code shrinkDenis Vlasenko2008-07-131-5/+5
|
* libbb: shrink print_login_issue (by Vladimir Dronnikov)Denis Vlasenko2008-07-121-8/+7
| | | | | | function old new delta print_login_issue 469 435 -34
* whitespace fixesDenis Vlasenko2008-07-123-8/+18
|
* whitespace fixing scriptDenis Vlasenko2008-07-121-0/+61
|
* sleep: if FANCY && DESKTOP, support fractional seconds, minutes,Denis Vlasenko2008-07-125-39/+136
| | | | | | | | | | | | | | | | | hours and so on. It's coreutils compat. bloatcheck is atrocious :( function old new delta sleep_main 71 362 +291 bb_strtod - 127 +127 make_device 1269 1294 +25 getoptscmd 708 713 +5 switch_root_main 402 401 -1 display_speed 90 85 -5 show_entry 295 289 -6 parse_expr 841 833 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/4 up/down: 448/-20) Total: 428 bytes
* *: add FAST_FUNC markersDenis Vlasenko2008-07-123-6/+6
| | | | | | | | | | | | function old new delta getopt_mk_fifo_nod 73 70 -3 mv_main 505 501 -4 cp_mv_stat2 79 73 -6 cp_main 266 257 -9 cp_mv_stat 22 10 -12 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/5 up/down: 46/-80) Total: -34 bytes
* mv: fix a case when we move dangling symlinkDenis Vlasenko2008-07-121-6/+6
|