aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* randomconfig fixesGravatar Denys Vlasenko2010-07-0514-25/+39
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Yet another attempt to stamp out "make -j" problemsGravatar Denys Vlasenko2010-07-041-1/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: reduce number of *error_msg[_and_die].c files by fourGravatar Denys Vlasenko2010-07-048-94/+46
| | | | | | No code changes. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use xfork() and xvfork()Gravatar Pascal Bellard2010-07-0421-95/+56
| | | | | | | | | | | | | | | | 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>
* remove some dead assignments, add a TODO commentGravatar Denys Vlasenko2010-07-043-3/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ip a: fix SEGV if "dev IFACE" is not specifiedGravatar Denys Vlasenko2010-07-041-24/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: introduce and use BB_EXECVP_or_die()Gravatar Pascal Bellard2010-07-0422-81/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta BB_EXECVP_or_die - 47 +47 time_main 1042 1043 +1 chrt_main 371 364 -7 ionice_main 292 282 -10 setsid_main 69 56 -13 nohup_main 236 223 -13 cttyhack_main 266 253 -13 chroot_main 94 81 -13 chpst_main 746 733 -13 timeout_main 297 279 -18 taskset_main 541 522 -19 vfork_child 67 45 -22 parse 975 953 -22 lpd_main 770 748 -22 launch_helper 192 170 -22 tcpudpsvd_main 1810 1782 -28 nice_main 190 156 -34 env_main 242 206 -36 run_command 221 174 -47 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/17 up/down: 48/-352) Total: -304 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* losetup: use LOOP_foo definesGravatar Lauri Kasanen2010-07-042-8/+8
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix compile breakage with "make -j"Gravatar Denys Vlasenko2010-07-033-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* chrt: code shrinkGravatar Denys Vlasenko2010-07-012-46/+48
| | | | | | | | | | function old new delta show_min_max 80 60 -20 packed_usage 26929 26896 -33 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-53) Total: -53 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* consolidate xz format comment. no code changesGravatar Denys Vlasenko2010-07-013-4/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: stop losing some keyboard keys.Gravatar Pascal Bellard2010-07-011-9/+11
| | | | | | | 11 bytes shrink. Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xz compression detection: avoid the need to seekGravatar Denys Vlasenko2010-07-015-14/+30
| | | | | | | | | | | | | function old new delta unpack_unxz 12 67 +55 unpack_xz_stream 2357 2373 +16 xmalloc_read 197 199 +2 setup_unzip_on_fd 118 99 -19 rpm2cpio_main 222 203 -19 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 73/-38) Total: 35 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bzip2 decompression: simple code shrinkGravatar Denys Vlasenko2010-06-302-6/+9
| | | | | | | | function old new delta unpack_bz2_stream_prime 60 55 -5 get_header_tar 1508 1496 -12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: code shrinkGravatar Pascal Bellard2010-06-301-110/+101
| | | | | | | | | | | | | | | | function old new delta screen_read_close 114 187 +73 set_cursor - 53 +53 cleanup 93 91 -2 screen_dump 202 197 -5 curon 34 - -34 screen_char 351 308 -43 conspy_main 1444 1264 -180 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/4 up/down: 126/-264) Total: -138 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bootchartd: fix sample period calculationsGravatar Keisuke Yasui2010-06-281-5/+7
| | | | | Signed-off-by: Keisuke Yasui <keisuke.yasui@toshiba.co.jp> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: code shrinkGravatar Pascal Bellard2010-06-283-86/+78
| | | | | | | | | | function old new delta conspy_main 1446 1444 -2 screen_read_close 114 108 -6 screen_char 299 293 -6 Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nc: better comments. no code changesGravatar Denys Vlasenko2010-06-281-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: significant output minimization; blink attribute supportGravatar Denys Vlasenko2010-06-271-72/+126
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove recently added erroneous _and_die()Gravatar Denys Vlasenko2010-06-272-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix a case when sometimes error message is not printedGravatar Denys Vlasenko2010-06-271-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nc: introduce CONFIG_NC_110_COMPAT option.Gravatar Denys Vlasenko2010-06-274-108/+122
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/"/bin/sh"/DEFAULT_SHELL, run_shell() API fix, remove unneeded strdupGravatar Ladislav Michl2010-06-278-54/+58
| | | | | | | | | | function old new delta run_shell 157 166 +9 su_main 477 470 -7 sulogin_main 515 503 -12 Signed-off-by: Ladislav Michl <Ladislav.Michl@seznam.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modinfo: support relative paths in modules.depGravatar Lauri Kasanen2010-06-271-11/+24
| | | | | | | | | function old new delta modinfo 272 329 +57 modinfo_main 325 344 +19 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modinfo: needs DEFAULT_MODULES_DIR and DEFAULT_DEPMOD_FILEGravatar Lauri Kasanen2010-06-271-2/+2
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/copyfd.c: fix the case of copy buffer <= 4kbGravatar Denys Vlasenko2010-06-261-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix obscure case of replacing + globbing + backslashesGravatar Denys Vlasenko2010-06-263-21/+52
| | | | | | | | | | | | | | | function old new delta subevalvar 1152 1178 +26 readtoken1 3267 3275 +8 redirect 1284 1286 +2 expandarg 957 958 +1 expdir 4 - -4 evalcommand 1219 1209 -10 expmeta 481 469 -12 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/2 up/down: 37/-26) Total: 11 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: make typical extraction less memory-hungryGravatar Denys Vlasenko2010-06-261-3/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: tar-related cleanups: move struct to unarchive.h; move help to tar.cGravatar Denys Vlasenko2010-06-265-153/+118
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix --to-command wrt short writesGravatar Denys Vlasenko2010-06-262-6/+17
| | | | | | | | | | | | function old new delta bb_copyfd_exact_size 51 98 +47 bb_full_fd_action 362 394 +32 get_header_tar 1546 1558 +12 data_extract_to_command 430 439 +9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 100/0) Total: 100 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix breakage in compressed file detectionGravatar Denys Vlasenko2010-06-262-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* universal parser: do not leak parser->dataGravatar Denys Vlasenko2010-06-261-8/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: do not rebuild ash and hush on any change to any .c fileGravatar Denys Vlasenko2010-06-265-10/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: make "conspy 0" use vcsa0 but "conspy" (no param) use vcsaGravatar Denys Vlasenko2010-06-251-7/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* another fix to gen_build_files / autoconf.h dependencyGravatar Denys Vlasenko2010-06-251-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh is an order prerequisite only for autoconf.hGravatar Denys Vlasenko2010-06-252-29/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: make gen_build_files.sh run before autoconf.h generationGravatar Denys Vlasenko2010-06-251-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make exec failure message more consistentGravatar Denys Vlasenko2010-06-2524-40/+40
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: optional support for --to-commandGravatar Ladislav Michl2010-06-255-0/+163
| | | | | | | | | | | | | | | | function old new delta data_extract_to_command - 430 +430 dec2env - 44 +44 tar_main 778 819 +41 str2env - 37 +37 tar_var - 32 +32 xputenv - 22 +22 tar_longopts 257 270 +13 ------------------------------------------------------------------------------ (add/remove: 6/0 grow/shrink: 2/0 up/down: 619/0) Total: 619 bytes Signed-off-by: Ladislav Michl <Ladislav.Michl@seznam.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: code shrinkGravatar Denys Vlasenko2010-06-251-21/+28
| | | | | | | | function old new delta conspy_main 1385 1380 -5 screen_dump 215 202 -13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: step correction to variables had wrong sign, fixingGravatar Denys Vlasenko2010-06-241-7/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: document attribute byte formatGravatar Denys Vlasenko2010-06-241-8/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* smemcap: new appletGravatar Denys Vlasenko2010-06-241-0/+152
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use bb_unsetenv_and_freeGravatar Denys Vlasenko2010-06-246-10/+11
| | | | | | | | | | | | | function old new delta bb_unsetenv_and_free - 17 +17 tcpudpsvd_main 1819 1810 -9 safe_setenv 58 47 -11 udhcp_run_script 630 616 -14 make_device 1683 1663 -20 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/4 up/down: 17/-54) Total: -37 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: <> redir should not truncateGravatar Andreas Bühmann2010-06-243-1/+7
| | | | | Signed-off-by: Andreas Bühmann <buehmann@users.berlios.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: code shrink ~200 bytesGravatar Pascal Bellard2010-06-231-45/+42
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixGravatar Denys Vlasenko2010-06-221-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rev: new appletGravatar Marek Polacek2010-06-221-0/+121
| | | | | | | | text data bss dec hexfilename 377 0 0 377 179rev.o Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix config help textGravatar Denys Vlasenko2010-06-211-11/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bootchartd: added optional compat featuresGravatar Denys Vlasenko2010-06-214-43/+127
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>