summaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* update of config file parser from VladimirDenis Vlasenko2008-07-161-49/+34
|
* sleep: make fractional seconds separately selectable in .configDenis Vlasenko2008-07-151-3/+3
|
* time: don't segfault with no argumentsDenis Vlasenko2008-07-111-0/+1
|
* taskset: fix some careless code in both fancy and non-fancy cases.Denis Vlasenko2008-07-112-13/+37
| | | | | -5 bytes for fancy, +5 for non-fancy
* whitespace fixDenis Vlasenko2008-07-091-1/+1
|
* last: fix ctime(ptr) ptr type mismatchDenis Vlasenko2008-07-091-1/+5
|
* libbb: introduce and use xrealloc_vectorDenis Vlasenko2008-07-082-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta xrealloc_vector_helper - 51 +51 create_list 84 99 +15 getopt_main 690 695 +5 passwd_main 1049 1053 +4 get_cached 85 89 +4 msh_main 1377 1380 +3 add_match 42 41 -1 read_lines 720 718 -2 grave 1068 1066 -2 fill_match_lines 143 141 -2 add_to_dirlist 67 65 -2 add_input_file 49 47 -2 act 252 250 -2 fsck_main 2252 2246 -6 man_main 765 757 -8 bb_internal_initgroups 228 220 -8 cut_main 1052 1041 -11 add_edge_to_node 55 43 -12 dpkg_main 3851 3835 -16 ifupdown_main 2202 2178 -24 sort_main 838 812 -26 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/15 up/down: 82/-124) Total: -42 bytes
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-0522-24/+24
|
* man: fix inverted cat/man bool variableDenis Vlasenko2008-07-051-8/+9
|
* man: code shrinkDenis Vlasenko2008-07-051-20/+18
| | | | | | | | | function old new delta man_main 725 765 +40 show_manpage 112 - -112 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 40/-112) Total: -72 bytes
* man: support cat pages too (by Jason Curl <jcurlnews AT arcor.de>)Denis Vlasenko2008-07-041-14/+31
| | | | | | | | function old new delta show_manpage - 112 +112 run_pipe 89 102 +13 man_main 721 725 +4
* man: fix missed NULL termination of an arrayDenis Vlasenko2008-07-041-7/+9
| | | | | | function old new delta man_main 741 721 -20
* sendmail: fix wrong vfork usage here tooDenis Vlasenko2008-07-011-1/+1
| | | | | | | | | | | | *: shorten error texts function old new delta launch_helper - 151 +151 vfork_or_die 20 - -20 sendgetmail_main 1946 1848 -98 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/1 up/down: 151/-118) Total: 33 bytes
* revert last two commits. vfork cannot be used in subroutine,Denis Vlasenko2008-07-012-3/+9
| | | | | it trashes stack on return
* - wrap overlong linesBernhard Reutner-Fischer2008-07-011-5/+8
|
* *: introduce and use xvfork()Denis Vlasenko2008-07-012-9/+3
| | | | | | | | | | | | | | | | | | | | function old new delta time_main 1052 1285 +233 crontab_main 623 856 +233 ifupdown_main 2202 2403 +201 xvfork - 20 +20 passwd_main 1049 1053 +4 grave 1068 1066 -2 script_main 935 921 -14 vfork_or_die 20 - -20 vfork_compressor 206 175 -31 open_as_user 109 - -109 popen2 218 - -218 edit_file 910 690 -220 run_command 268 - -268 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 4/4 up/down: 691/-882) Total: -191 bytes
* crond: use execlp instead of execlDenis Vlasenko2008-06-301-1/+1
|
* sendmail: from Vladimir:Denis Vlasenko2008-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | Here comes the third part of compatibility patch for sendmail. * Introduced new safe_getdomainname() -- will it be useful? * Fixed SEGV if sender address is missed. Should snoop for sender address in mail headers? * More compat: use HOSTNAME instead of HOST when no server is explicitly specified. * crond: fixed mail recipient address. function old new delta safe_getdomainname - 56 +56 sendgetmail_main 1937 1946 +9 grep_file 846 850 +4 crond_main 1423 1425 +2 xstrtoull_range_sfx 295 296 +1 utoa_to_buf 110 108 -2 passwd_main 1053 1049 -4 sv_main 1234 1228 -6 parse_expr 841 833 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/4 up/down: 72/-20) Total: 52 bytes
* sendmail: another update from the maintainerDenis Vlasenko2008-06-281-5/+1
| | | | | | | | | | function old new delta sendgetmail_main 1894 1937 +43 crond_main 1416 1423 +7 packed_usage 24540 24470 -70 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 50/-70) Total: -20 bytes
* stat: pointers are not 0L, they are NULLDenis Vlasenko2008-06-271-1/+8
| | | | | man: better error handling
* man: mimic "no manual entry for 'bogus'" message and exitcodeDenis Vlasenko2008-06-271-4/+10
|
* style fixes, no code changesDenis Vlasenko2008-06-261-2/+2
|
* whitespace fixes. no code changesDenis Vlasenko2008-06-253-7/+5
|
* less: fix a case when regexp matches ""Denis Vlasenko2008-06-091-10/+13
| | | | | hush: remove wrong comment, expand another one
* libbb: introduce and use print_flags().Denis Vlasenko2008-06-071-35/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* replace single-char printf's with bb_putcharDenis Vlasenko2008-06-051-17/+17
|
* ash: optional printf builtin. +25 bytes if off, +35 if on.Denis Vlasenko2008-06-012-0/+6
| | | | | by Cristian Ionescu-Idbohrn.
* - use ut_user rather than ut_name (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-06-012-15/+15
| | | | | | | | - 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
* last: code shrinkDenis Vlasenko2008-05-252-19/+20
| | | | | | | | | 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
* inotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>Denis Vlasenko2008-05-243-0/+159
| | | | | | | | | | | | | | | 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
* - not sure but i may have had the shutdown-time wrong and no records to verifyBernhard Reutner-Fischer2008-05-221-1/+1
|
* - untangle the implementation of the small and huge last appletsBernhard Reutner-Fischer2008-05-224-12/+22
|
* last: make its output more like "standard" last (aka "fancy last").Denis Vlasenko2008-05-221-7/+40
| | | | | | | | | | | | 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
* last: trim format string a bitDenis Vlasenko2008-05-221-1/+1
|
* last: optional alternative sysv-like implementationDenis Vlasenko2008-05-223-0/+299
| | | | | | | | | | | | (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
* - use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer2008-05-192-2/+2
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-195-9/+9
|
* last: style fixesDenis Vlasenko2008-05-171-5/+10
|
* more of -Wall fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-154-26/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-132-3/+3
| | | | | | | | | | | | | 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
* -Wall fixes by Cristian Ionescu-Idbohrn. No object code changes.Denis Vlasenko2008-05-121-1/+1
|
* fix warnings about pointer signednessDenis Vlasenko2008-05-091-1/+1
|
* - fix strncmp'ing "runlevel". (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-05-051-1/+1
|
* taskset: (1ull < 65) like ops are not good, avoid thatDenis Vlasenko2008-04-251-1/+3
|
* delay reconfig of input tty until target device has been both openedPaul Fox2008-04-231-11/+9
| | | | and configured correctly.
* whitespace fixes. no code changesDenis Vlasenko2008-04-222-11/+11
|
* build system: move misplaced config entry for script appletDenis Vlasenko2008-04-211-9/+3
|
* libbb: introduce xmalloc_xopen_read_close and use where appropriateDenis Vlasenko2008-04-191-1/+1
| | | | | | | | | | | | | | | | | | 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
* man: handle many MANPAGER directives so that they do not overrideDenis Vlasenko2008-04-191-34/+44
| | | | | | | | but accumulate. By Ivana Varekova <varekova AT redhat.com> function old new delta man_main 567 684 +117
* fix typo in Config.in hext textDenis Vlasenko2008-04-131-1/+1
|