aboutsummaryrefslogtreecommitdiff
path: root/debianutils
Commit message (Collapse)AuthorAgeFilesLines
* *: introduce and use xfork() and xvfork()Gravatar Pascal Bellard2010-07-041-3/+1
| | | | | | | | | | | | | | | | function old new delta launch_helper 170 169 -1 setup_heredoc 312 302 -10 handle_dir_common 367 354 -13 expand_vars_to_list 2456 2443 -13 open_transformer 89 74 -15 data_extract_to_command 439 423 -16 do_ipaddr 1406 1389 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-85) Total: -85 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make exec failure message more consistentGravatar Denys Vlasenko2010-06-251-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mktemp: be more compatible: bare "mktemp" creates tempfile in /tmp, not cwdGravatar Denys Vlasenko2010-06-181-13/+10
| | | | | | | function old new delta mktemp_main 171 152 -19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add INSERTs to *.src files where appropriateGravatar Denys Vlasenko2010-06-082-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pipe_progress: make it independent of printf machineryGravatar Denys Vlasenko2010-06-061-2/+2
| | | | | | | | | | | | | function old new delta bb_putchar_stderr - 24 +24 ParseField 494 471 -23 progress_meter 212 188 -24 xargs_main 888 842 -46 pipe_progress_main 151 105 -46 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/4 up/down: 24/-139) Total: -115 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pipe_progress: shrinkGravatar Denys Vlasenko2010-06-061-8/+4
| | | | | | | function old new delta pipe_progress_main 163 151 -12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove defconfig. Now "make defconfig" simply uses defaults from Config.inGravatar Denys Vlasenko2010-06-061-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass renaming Kbuild -> Kbuild.src, Config.in -> Config.srcGravatar Denys Vlasenko2010-06-042-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove duplicate commentGravatar Denys Vlasenko2010-05-101-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hurd compat fixes. Mostly dealing with absent PATH_MAXGravatar Jérémie Koenig2010-03-261-14/+19
| | | | | Signed-off-by: Jérémie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: code shrink and better "died from signal" reporting from wait4pidGravatar Denys Vlasenko2010-03-181-2/+2
| | | | | | | | | | | | | | function old new delta parse 964 967 +3 udhcp_run_script 670 665 -5 singlemount 911 906 -5 mount_it_now 360 355 -5 inotifyd_main 521 516 -5 xspawn 21 - -21 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/4 up/down: 3/-41) Total: -38 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: suppress ~60% of "aliased warnings" on gcc-4.4.1Gravatar Denys Vlasenko2010-02-042-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use "can't" instead of "cannot"Gravatar Denys Vlasenko2009-11-131-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSGravatar Denys Vlasenko2009-06-191-2/+2
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* switch_root: improve behavior on error; improve help textGravatar Denis Vlasenko2009-04-211-1/+1
| | | | | *: make "can't execute '%s'" message uniform
* *: mass renaming of USE_XXXX to IF_XXXXGravatar Denis Vlasenko2009-04-213-8/+8
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* start_stop_daemon: accept (and ignore) -R <param>Gravatar Denis Vlasenko2008-09-271-3/+3
|
* Markus Heidelberg writes:Gravatar Bernhard Reutner-Fischer2008-09-261-0/+1
| | | | | * document --nicelevel in Config.in * usage: --verbose is the fancy option, not --quiet
* - update my name. No obj-code changes ;)Gravatar Bernhard Reutner-Fischer2008-09-251-1/+1
|
* watchdog: add -T optionGravatar Denis Vlasenko2008-09-071-1/+1
| | | | | | | | function old new delta watchdog_main 159 219 +60 mdev: support match by major,minor. See bug 4714. +100 bytes.
* libbb: make xrealloc_vector zero out the realloc'ed tailGravatar Denis Vlasenko2008-08-041-1/+1
| | | | | | | | | | | | | | function old new delta xrealloc_vector_helper 51 76 +25 man_main 712 705 -7 act 250 234 -16 create_list 91 70 -21 getopt_main 695 664 -31 load_dep_bb 281 248 -33 fileAction 744 709 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 25/-143) Total: -118 bytes
* - wrap overlong lines (Cristian Ionescu-Idbohrn)Gravatar Bernhard Reutner-Fischer2008-07-221-2/+2
| | | | - s/\. /. /g;# (me)
* libbb: [x]fopen_for_{read,write} introduced and used.Gravatar Denis Vlasenko2008-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* libbb: introduce and use xrealloc_vectorGravatar Denis Vlasenko2008-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.Gravatar Denis Vlasenko2008-07-055-6/+6
|
* revert last two commits. vfork cannot be used in subroutine,Gravatar Denis Vlasenko2008-07-011-1/+3
| | | | | it trashes stack on return
* *: introduce and use xvfork()Gravatar Denis Vlasenko2008-07-011-3/+1
| | | | | | | | | | | | | | | | | | | | 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
* ssd: fix missed + in prev commitGravatar Denis Vlasenko2008-07-011-1/+1
|
* ssd: do not stat -x EXECUTABLE, it is not needed anymoreGravatar Denis Vlasenko2008-07-011-9/+17
| | | | | | | | | ssd: use PATH ssd: fix -a without -x case ssd: fix help text ssd: CLOSE_EXTRA_FDS in MMU case too ssd: add testsuite
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onGravatar Denis Vlasenko2008-06-271-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* whitespace fixes. no code changesGravatar Denis Vlasenko2008-06-251-5/+4
|
* ssd: fix commentGravatar Denis Vlasenko2008-06-201-3/+3
|
* *: use llist_pop for traverse-and-free list operationGravatar Denis Vlasenko2008-06-151-4/+2
| | | | | | | | | | | | | | | | | | function old new delta append_file_list_to_list 109 111 +2 udhcpc_main 2414 2413 -1 run_parts_main 325 324 -1 od_main 2324 2323 -1 getopt_main 709 707 -2 env_main 253 251 -2 sed_main 659 656 -3 ps_main 522 519 -3 traceroute_main 3960 3954 -6 sort_main 844 838 -6 diff_main 866 858 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/10 up/down: 2/-33) Total: -31 bytes
* mktemp: make default tempfile template shorter;Gravatar Denis Vlasenko2008-06-081-1/+1
| | | | | make help text more understandable
* which: -a support (needed for bfin uclibc build script)Gravatar Denis Vlasenko2008-06-051-12/+52
| | | | | | | | | | | | | real support (with CONFIG_DESKTOP=y): 120+ bytes: text data bss dec hex filename 807958 624 7036 815618 c7202 busybox_old 808085 624 7036 815745 c7281 busybox_unstripped "fake" support (with CONFIG_DESKTOP unset): ~45 bytes: text data bss dec hex filename 797790 611 6996 805397 c4a15 busybox_old 797834 611 6996 805441 c4a41 busybox_unstripped
* mktemp: make argument optional (coreutil 6.12 compat)Gravatar Denis Vlasenko2008-06-051-11/+30
| | | | | | | | | function old new delta mktemp_main 157 174 +17 packed_usage 24508 24504 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 17/-4) Total: 13 bytes
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesGravatar Bernhard Reutner-Fischer2008-05-191-1/+1
|
* start_stop_daemon: add -test, fix -x to not match by inode,Gravatar Denis Vlasenko2008-05-181-48/+86
| | | | | | | | | | | | | vastly improve hext text. (mostly by Roy Marples <roy AT marples.name>) function old new delta packed_usage 24124 24190 +66 start_stop_daemon_main 959 991 +32 start_stop_daemon_longopts 149 156 +7 check 1632 1589 -43 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 105/-43) Total: 62 bytes
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Gravatar Denis Vlasenko2008-05-131-1/+1
| | | | | | | | | | | | | 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
* start_stop_daemon: try to clarify intended meaning of the optionsGravatar Denis Vlasenko2008-05-071-2/+39
|
* start_stop_daemon: use existing global variableGravatar Denis Vlasenko2008-04-301-27/+28
| | | | | start_stop_daemon_main 976 959 -17
* whitespace fixes. no code changesGravatar Denis Vlasenko2008-04-221-11/+11
|
* start_stop_daemon: stat executable only onceGravatar Denis Vlasenko2008-04-201-2/+5
| | | | | | | | | function old new delta start_stop_daemon_main 954 976 +22 check 1661 1632 -29 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 22/-29) Total: -7 bytes
* libbb: prevent xmalloc_open_read_close from dying on seek failureGravatar Denis Vlasenko2008-04-201-23/+17
| | | | | | | | | | | | | start_stop_daemon: use open_read_close instead of xmalloc_open_read_close start_stop_daemon: use local structure instead of global one function old new delta check 1620 1661 +41 xmalloc_open_read_close 171 190 +19 start_stop_daemon_main 976 954 -22 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 60/-22) Total: 38 bytes
* start_stop_daemon: optimization - do not pass paramenter, useGravatar Denis Vlasenko2008-04-191-10/+8
| | | | | | | | | | | | existing globals instead function old new delta start_stop_daemon_main 792 976 +184 check 1618 1620 +2 do_procinit 196 - -196 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 2/0 up/down: 186/-196) Total: -10 bytes
* start_stop_daemon: do not stop /proc scan prematurelyGravatar Denis Vlasenko2008-04-191-5/+12
| | | | | | function old new delta do_procinit 185 196 +11
* start-stop-daemon: make --exec follow symlinksGravatar Denis Vlasenko2008-04-191-13/+13
| | | | | | | | | by Joakim Tjernlund <joakim.tjernlund AT transmode.se> function old new delta check 1591 1618 +27 start_stop_daemon_main 770 792 +22
* start_stop_daemon: mark argc as unusedGravatar Denis Vlasenko2008-04-191-2/+2
|
* patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)Gravatar Denis Vlasenko2008-03-232-3/+0
| | | | | *: removal of #include <getopt.h>
* *: add -Wunused-parameter; fix resulting breakageGravatar Denis Vlasenko2008-03-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped