aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2008-06-09less: fix a case when regexp matches ""Denis Vlasenko
hush: remove wrong comment, expand another one
2008-06-07libbb: introduce and use print_flags().Denis Vlasenko
Mostly by Natanael Copa <natanael.copa AT gmail.com> function old new delta print_e2flags - 189 +189 print_flags_separated - 86 +86 static.flag_labels - 60 +60 static.dma_wmode_masks - 32 +32 static.flag_masks - 28 +28 static.arp_labels - 16 +16 static.arp_masks - 12 +12 ls_main 836 843 +7 ... popstring 140 134 -6 arp_show 740 708 -32 print_flags 189 25 -164 ipaddr_list_or_flush 2396 2170 -226 process_dev 5306 4706 -600 ------------------------------------------------------------------------------ (add/remove: 10/0 grow/shrink: 5/10 up/down: 458/-1043) Total: -585 bytes text data bss dec hex filename 810564 624 7060 818248 c7c48 busybox_old 810002 624 7060 817686 c7a16 busybox_unstripped
2008-06-05replace single-char printf's with bb_putcharDenis Vlasenko
2008-06-01ash: optional printf builtin. +25 bytes if off, +35 if on.Denis Vlasenko
by Cristian Ionescu-Idbohrn.
2008-06-01- use ut_user rather than ut_name (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer
- use ut_tv.tv_sec rather than ut_time (me) - shrink halt a little bit (me): halt_main 464 433 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-31) Total: -31 bytes
2008-05-25last: code shrinkDenis Vlasenko
function old new delta show_entry 319 311 -8 last_main 917 907 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-18) Total: -18 bytes
2008-05-24inotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>Denis Vlasenko
function old new delta inotifyd_main - 453 +453 packed_usage 24246 24450 +204 inotify_add_watch - 47 +47 inotify_init - 29 +29 mask_names - 13 +13 signal_handler 130 140 +10 applet_names 1859 1868 +9 applet_main 1132 1136 +4 applet_nameofs 566 568 +2 signalled 1 2 +1
2008-05-22- not sure but i may have had the shutdown-time wrong and no records to verifyBernhard Reutner-Fischer
2008-05-22- untangle the implementation of the small and huge last appletsBernhard Reutner-Fischer
2008-05-22last: make its output more like "standard" last (aka "fancy last").Denis Vlasenko
The main difference is that LOGIN lines are still shown by non-fancy one. function old new delta static._ut_usr - 26 +26 last_main 448 471 +23 static._ut_lin - 7 +7 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/0 up/down: 56/0) Total: 56 bytes
2008-05-22last: trim format string a bitDenis Vlasenko
2008-05-22last: optional alternative sysv-like implementationDenis Vlasenko
(by Patricia Muscalu <patricia.muscalu AT axis.com>) function old new delta last_main 448 917 +469 show_entry - 319 +319 packed_usage 24216 24268 +52 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 840/0) Total: 840 bytes
2008-05-19- use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer
2008-05-19- use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer
2008-05-17last: style fixesDenis Vlasenko
2008-05-15more of -Wall fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko
Some are fixing real bugs. function old new delta syslogd_main 938 958 +20 get_signum 136 143 +7 obj_load 777 782 +5 recv_from_to 210 214 +4 get_next_block 1795 1799 +4 display_topmem_process_list 1117 1121 +4 logread_main 484 487 +3 buffer_fill_and_print 73 76 +3 kill_main 687 689 +2 ll_remember_index 240 241 +1 do_stats 452 453 +1 if_readconf 166 165 -1 display_process_list 1192 1191 -1 run_applet_and_exit 507 505 -2 print_signames 33 31 -2 parse_one_line 1092 1090 -2 find_out_spec 57 55 -2 add_ksymoops_symbols 421 419 -2 ash_main 1407 1402 -5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 11/8 up/down: 54/-17) Total: 37 bytes
2008-05-13more -Wall warning fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko
This time it resulted in small code changes: function old new delta nexpr 820 828 +8 tail_main 1200 1202 +2 wrapf 166 167 +1 parse_mount_options 227 209 -18 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 11/-18) Total: -7 bytes
2008-05-12-Wall fixes by Cristian Ionescu-Idbohrn. No object code changes.Denis Vlasenko
2008-05-09fix warnings about pointer signednessDenis Vlasenko
2008-05-05- fix strncmp'ing "runlevel". (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer
2008-04-25taskset: (1ull < 65) like ops are not good, avoid thatDenis Vlasenko
2008-04-23delay reconfig of input tty until target device has been both openedPaul Fox
and configured correctly.
2008-04-22whitespace fixes. no code changesDenis Vlasenko
2008-04-21build system: move misplaced config entry for script appletDenis Vlasenko
2008-04-19libbb: introduce xmalloc_xopen_read_close and use where appropriateDenis Vlasenko
instead of xmalloc_open_read_close. function old new delta xmalloc_xopen_read_close - 34 +34 xmalloc_open_read_close 163 171 +8 passwd_main 1070 1074 +4 rexecve 254 257 +3 handle_incoming_and_exit 2657 2659 +2 parse_command 1509 1510 +1 buffer_fill_and_print 76 73 -3 evaltreenr 599 589 -10 evaltree 599 589 -10 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/3 up/down: 52/-23) Total: 29 bytes
2008-04-19man: handle many MANPAGER directives so that they do not overrideDenis Vlasenko
but accumulate. By Ivana Varekova <varekova AT redhat.com> function old new delta man_main 567 684 +117
2008-04-13fix typo in Config.in hext textDenis Vlasenko
2008-04-13less: fix somewhat elusive case when less gets stuck in search modeDenis Vlasenko
function old new delta read_lines 719 730 +11 goto_match 141 116 -25
2008-04-13man: new applet. ~600 bytes.Denis Vlasenko
2008-04-07crond: add handling of "MAILTO=user" linesDenis Vlasenko
sendmail: handle a case when the whole mail comes from stdin (and no separate sender/subj is provided) both by dronnikov AT gmail.com function old new delta sendgetmail_main 1509 1674 +165 SynchronizeFile 671 767 +96 packed_usage 24054 24088 +34 crond_main 1404 1420 +16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 311/0) Total: 311 bytes
2008-04-04fbsplash: more compact support for named pipes + EOF scenarioDenis Vlasenko
function old new delta fbsplash_main 1121 1043 -78
2008-03-28fbsplash: move to /sbin; small shrinkDenis Vlasenko
function old new delta fb_drawprogressbar 413 423 +10 fbsplash_main 1146 1121 -25
2008-03-28whitespace fixesDenis Vlasenko
2008-03-27fbsplash: support this usage:Denis Vlasenko
mkfifo cmd_pipe fbsplash -f cmd_pipe .... & ... echo 33 >cmd_pipe ... echo 66 >cmd_pipe Code size: fbsplash_main +116 bytes :(
2008-03-26fbsplash: fix broken handling of buffered case:Denis Vlasenko
"{echo 45; echo 33; } | { sleep 1; fbsplash -f - ...; }" function old new delta fb_drawprogressbar - 413 +413 xmalloc_fgetline - 46 +46 xmalloc_reads 184 183 -1 xmalloc_getline 46 - -46 fbsplash_main 1472 1030 -442 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/2 up/down: 459/-489) Total: -30 bytes text data bss dec hex filename 801181 641 7380 809202 c58f2 busybox_old 801151 641 7380 809172 c58d4 busybox_unstripped
2008-03-26*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/Denis Vlasenko
2008-03-26fbsplash: cosmetic comment and Config text fixes; rename .ini -> .cfgDenis Vlasenko
2008-03-26fbsplash: shrink, better help text; inifile cannot specify image now;Denis Vlasenko
image can come from stdin function old new delta packed_usage 23872 23932 +60 static.param_names - 57 +57 fbsplash_main 1525 1472 -53 static.param_value 100 - -100 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/1 up/down: 117/-153) Total: -36 bytes text data bss dec hex filename 801202 641 7380 809223 c5907 busybox_old 801181 641 7380 809202 c58f2 busybox_unstripped
2008-03-26patch: add support for -R. ~ +110 byte. By Pascal Bellard <pascal.bellard AT ↵Denis Vlasenko
ads-lu.com> fbsplash: new applet by Michele Sanges <michele.sanges AT otomelara.it function old new delta fbsplash_main - 1525 +1525 fb_drawfullrectangle - 118 +118 static.param_value - 100 +100 packed_usage 23776 23872 +96 applet_names 1843 1852 +9 applet_main 1120 1124 +4 read_line_input 3156 3158 +2 applet_nameofs 560 562 +2 applet_install_loc 140 141 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 6/0 up/down: 1857/0) Total: 1857 bytes text data bss dec hex filename 799233 641 7380 807254 c5156 busybox_old 801202 641 7380 809223 c5907 busybox_unstripped
2008-03-24lpr: add more accurate commentsDenis Vlasenko
*: trailing whitespace removal
2008-03-23patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)Denis Vlasenko
*: removal of #include <getopt.h>
2008-03-22taskset: fix false failure in testsuiteDenis Vlasenko
2008-03-20small NOMMU fixesDenis Vlasenko
2008-03-20hdparm: do not lie about supporting -q (quiet)Denis Vlasenko
hdparm: interpret_standby() shrink hdparm: make HDIO_GET/SET_QDMA #ifdef more complete (by Joe Krahn <krahn AT niehs.nih.gov>) function old new delta packed_usage 23798 23776 -22 process_dev 5342 5315 -27
2008-03-19*: s/BB_SIGS_FATAL/BB_FATAL_SIGS/ (latter proved easier to remember)Denis Vlasenko
top: fix "top </dev/null" case (by Cristian Ionescu-Idbohrn)
2008-03-17brctl: eliminate stray data objectDenis Vlasenko
brctl: use constant fd to reduce parameter passing runsvdir: do not use data/bss od: reuse bb_argv_dash last: do not go into endless loop on read error mount: make it not fail scripts/find_bad_common_bufsiz check dc: add INIT_G() (no-op for dc, but we want uniform usage of "G trick") function old new delta runsvdir_main 1646 1672 +26 set_pgrp 1 - -1 exitsoon 1 - -1 check 679 678 -1 svnum 4 - -4 svdir 4 - -4 sv 4 - -4 stamplog 4 - -4 rploglen 4 - -4 rplog 4 - -4 mount_main 995 988 -7 static.default_file_list 8 - -8 pfd 8 - -8 logpipe 8 - -8 static.info 20 - -20 brctl_main 767 739 -28 ------------------------------------------------------------------------------ (add/remove: 0/12 grow/shrink: 1/3 up/down: 26/-106) Total: -80 bytes text data bss dec hex filename 793327 662 7412 801401 c3a79 busybox_old 793329 641 7372 801342 c3a3e busybox_unstripped
2008-03-17*: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname.Denis Vlasenko
chrt,taskset,dc,eject: shrink crontab: call "vi" with just name, no path watchdog: intercept all fatal signals function old new delta xstrtoull_range - 35 +35 static.sg_commands - 18 +18 packed_usage 23698 23712 +14 watchdog_main 148 151 +3 crontab_main 637 638 +1 base 1 - -1 static.ps 4 - -4 pointer 4 - -4 stack_machine 99 92 -7 run_command 273 260 -13 eject_main 360 343 -17 static.C 30 12 -18 ptok 61 38 -23 xstrtol_range 27 - -27 get_token 35 - -35 taskset_main 586 550 -36 chrt_main 411 372 -39 dc_main 158 117 -41 time_main 1127 1037 -90 ------------------------------------------------------------------------------ (add/remove: 2/5 grow/shrink: 3/9 up/down: 71/-355) Total: -284 bytes text data bss dec hex filename 793680 662 7420 801762 c3be2 busybox_old 793327 662 7412 801401 c3a79 busybox_unstripped
2008-03-17*: mode tcp/udpsvd to networking, delete ipsvd/*Denis Vlasenko
*/Config.in: fixes to text svlogd: make it NOMMU capable function old new delta processorstart 378 420 +42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 42/0) Total: 42 bytes text data bss dec hex filename 797153 662 7420 805235 c4973 busybox_old 797196 662 7420 805278 c499e busybox_unstripped
2008-03-17*: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)Denis Vlasenko
function old new delta getopt32 1370 1385 +15 sulogin_main 490 494 +4 realpath_main 84 86 +2 sleep_main 76 77 +1 mt_main 256 257 +1 printenv_main 75 74 -1 fdformat_main 546 545 -1 usleep_main 44 42 -2 setlogcons_main 77 75 -2 ed_main 2654 2649 -5 deallocvt_main 69 64 -5 addgroup_main 373 368 -5 mkfs_minix_main 2989 2982 -7 tail_main 1221 1213 -8 sv_main 1254 1241 -13 du_main 348 328 -20 tftp_main 325 302 -23 split_main 581 558 -23 nc_main 1000 977 -23 diff_main 891 868 -23 arping_main 1797 1770 -27 ls_main 893 847 -46 od_main 2797 2750 -47 readprofile_main 1944 1895 -49 tcpudpsvd_main 1973 1922 -51 udhcpc_main 2590 2513 -77 grep_main 824 722 -102 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/22 up/down: 23/-560) Total: -537 bytes text data bss dec hex filename 796973 658 7428 805059 c48c3 busybox_old 796479 662 7420 804561 c46d1 busybox_unstripped
2008-03-17*: shrink by using [f]open_or_warn_stdin where appropriateDenis Vlasenko
function old new delta lsattr_main 62 143 +81 open_or_warn_stdin - 36 +36 fclose_if_not_stdin 20 47 +27 xfopen_stdin - 20 +20 tac_main 336 356 +20 cksum_main 249 259 +10 bb_argv_dash - 8 +8 su_main 448 455 +7 cmp_main 630 633 +3 passwd_main 1072 1074 +2 uudecode_main 317 315 -2 text_yank 110 108 -2 handle_incoming_and_exit 2653 2651 -2 flags 5 1 -4 write_leases 235 230 -5 fopen_or_warn_stdin 48 42 -6 fold_main 648 642 -6 static.argv_dash 8 - -8 sum_main 142 128 -14 tail_main 1237 1221 -16 sed_main 711 695 -16 cmp_xfopen_input 17 - -17 bb_cat 113 96 -17 catv_main 328 306 -22 strings_main 457 434 -23 hash_file 298 274 -24 sum_file 353 325 -28 sort_main 904 859 -45 expand_main 736 686 -50 cut_main 1116 1065 -51 md5_sha1_sum_main 549 493 -56 lsattr_args 90 - -90 read_stduu 408 255 -153 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 7/20 up/down: 214/-657) Total: -443 bytes text data bss dec hex filename 797417 658 7428 805503 c4a7f busybox_old 796973 658 7428 805059 c48c3 busybox_unstripped