aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* *: fix "see file License ..." - the file is named LICENSE (in uppercase)Denys Vlasenko2010-08-163-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko2010-08-126-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: remove misguided dependency on PLATFORM_LINUXJeremie Koenig2010-07-301-1/+0
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: tweak help textDenys Vlasenko2010-07-291-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: make it use long longs for integer opsDenys Vlasenko2010-07-291-14/+51
| | | | | | | | | | | | | | function old new delta print_base 176 238 +62 or 91 103 +12 eor 91 103 +12 and 91 103 +12 not 60 64 +4 mod 103 105 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/0 up/down: 104/0) Total: 104 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: fix duplicate "depends on PLATFORM_LINUX". no code changesDenys Vlasenko2010-07-291-8/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass cosmetic removal of extra empty lines. no code changesDenys Vlasenko2010-07-262-3/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mark Linux-specific configuration optionsJeremie Koenig2010-07-193-1/+21
| | | | | | | | PLATFORM_LINUX is used as a dependency for applets or features which require Linux-specific interfaces. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: disable some applets by defaultDenys Vlasenko2010-07-141-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: mention other cronds' behavior in comment. no code changesDenys Vlasenko2010-07-111-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: code shrinkDenys Vlasenko2010-07-081-36/+31
| | | | | | | | function old new delta crond_main 1431 1472 +41 fork_job 457 389 -68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: rename HumpBack names. Note two TODOs/FIXMEsDenys Vlasenko2010-07-081-311/+322
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: check mtime on crontab dir every minute, and reread if changedDenys Vlasenko2010-07-081-39/+36
| | | | | | | function old new delta crond_main 1417 1460 +43 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: reorder functions to follow usual order: "main last"Denys Vlasenko2010-07-081-231/+221
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: code shrinkDenys Vlasenko2010-07-061-62/+65
| | | | | | | function old new delta ForkJob 513 457 -56 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use xfork() and xvfork()Pascal Bellard2010-07-044-16/+5
| | | | | | | | | | | | | | | | 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>
* libbb: introduce and use BB_EXECVP_or_die()Pascal Bellard2010-07-046-19/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* chrt: code shrinkDenys Vlasenko2010-07-011-9/+11
| | | | | | | | | | 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>
* conspy: stop losing some keyboard keys.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>
* conspy: code shrinkPascal 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>
* conspy: code shrinkPascal Bellard2010-06-281-60/+63
| | | | | | | | | | 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>
* conspy: significant output minimization; blink attribute supportDenys Vlasenko2010-06-271-72/+126
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: make "conspy 0" use vcsa0 but "conspy" (no param) use vcsaDenys Vlasenko2010-06-251-7/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make exec failure message more consistentDenys Vlasenko2010-06-256-13/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: code shrinkDenys 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>
* conspy: document attribute byte formatDenys Vlasenko2010-06-241-8/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use bb_unsetenv_and_freeDenys Vlasenko2010-06-241-2/+1
| | | | | | | | | | | | | 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>
* conspy: code shrink ~200 bytesPascal Bellard2010-06-231-45/+42
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix errors in detecting non-modified areasDenys Vlasenko2010-06-211-24/+25
| | | | | | | | | | function old new delta screen_char 100 102 +2 cleanup 84 86 +2 screen_dump 215 210 -5 conspy_main 1503 1491 -12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: new appletPascal Bellard2010-06-211-0/+472
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubiattach,ubidetach: new appletsBaruch Siach2010-06-161-0/+88
| | | | | | | | | | | | | | | function old new delta ubi_attach_detach_main - 175 +175 packed_usage 27056 27136 +80 applet_names 2262 2282 +20 applet_main 1328 1336 +8 applet_nameofs 664 668 +4 applet_install_loc 166 167 +1 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 5/0 up/down: 288/0) Total: 288 bytes Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rfkill: do not enable by default, it requires new-ish Linux headersDenys Vlasenko2010-06-141-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add INSERTs to *.src files where appropriateDenys Vlasenko2010-06-082-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bbconfig: make it independent from printf functionsDenys Vlasenko2010-06-071-1/+1
| | | | | | | | | | | | | | function old new delta full_write2_str - 25 +25 full_write1_str - 25 +25 clear_main 21 20 -1 telnet_main 1488 1477 -11 getty_main 1932 1918 -14 full_write22_str 25 - -25 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/3 up/down: 50/-51) Total: -1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pipe_progress: make it independent of printf machineryDenys Vlasenko2010-06-061-1/+1
| | | | | | | | | | | | | 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>
* remove defconfig. Now "make defconfig" simply uses defaults from Config.inDenys Vlasenko2010-06-061-60/+60
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass renaming Kbuild -> Kbuild.src, Config.in -> Config.srcDenys Vlasenko2010-06-042-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: better string sharingDenys Vlasenko2010-06-021-1/+1
| | | | | | | | text data bss dec hex filename 849427 441 7556 857424 d1550 busybox_old 849355 441 7556 857352 d1508 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* consolidate ESC sequencesDenys Vlasenko2010-05-162-7/+7
| | | | | | | | | | | | | | function old new delta bell 2 - -2 CMdown 2 - -2 Ceos 4 - -4 Ceol 4 - -4 CMup 4 - -4 SOs 5 - -5 SOn 5 - -5 CMrc 9 - -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setsid: check for setsid error directlyDenys Vlasenko2010-05-161-4/+17
| | | | | | | function old new delta setsid_main 74 66 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rfkill: new appletSouf Oued2010-05-023-0/+132
| | | | | | | | | | | | | function old new delta rfkill_main - 683 +683 packed_usage 26824 26966 +142 static.rfkill_types - 42 +42 applet_names 2216 2223 +7 applet_main 1300 1304 +4 applet_nameofs 650 652 +2 Signed-off-by: Souf Oued <souf_oued@yahoo.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* devmem: map two pages only if it is necessaryDenys Vlasenko2010-04-141-7/+14
| | | | | | | function old new delta devmem_main 463 469 +6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move utmp/wtmp support to "General configuration" sectionDenys Vlasenko2010-04-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363Denys Vlasenko2010-04-051-1/+2
| | | | | | | | | | | | | | | | | function old new delta write_new_utmp - 253 +253 skip_dev_pfx - 30 +30 handle_sigchld 42 72 +30 telnetd_main 1650 1673 +23 make_new_session 415 438 +23 ... login_main 1140 1148 +8 update_utmp 337 313 -24 write_wtmp 220 154 -66 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 11/6 up/down: 406/-115) Total: ~291 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: merge some common stringsDenys Vlasenko2010-03-233-3/+3
| | | | | | | | text data bss dec hexfilename 838650 8009 0 846659 ceb43busybox_old 838519 8009 0 846528 ceac0busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: code shrink and better "died from signal" reporting from wait4pidDenys Vlasenko2010-03-182-3/+3
| | | | | | | | | | | | | | 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>
* fbsplash: reinstate drawing of over/undersized images; shrinkDenys Vlasenko2010-03-141-37/+35
| | | | | | | | | Based on the patch by Nuno Lucas <ntlucas@gmail.com> function old new delta fbsplash_main 938 864 -74 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* beep: the -d option takes milliseconds not microsecondsNatanael Copa2010-03-141-2/+2
| | | | | Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix another corner case with bad unicode inputDenys Vlasenko2010-03-111-1/+1
| | | | | | | | | | | | | | | | | function old new delta read_key 607 646 +39 readit 50 55 +5 getch_nowait 290 295 +5 hash_find 233 234 +1 xstrtoul_range_sfx 231 230 -1 passwd_main 1058 1056 -2 builtin_exit 45 43 -2 cmp_main 649 645 -4 lineedit_read_key 257 245 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/5 up/down: 50/-21) Total: 29 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: do not check for POLLIN/POLLOUT only, just in case it's POLHUP/POLERRDenys Vlasenko2010-03-021-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>