aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-143-256/+3
|\|
| * findutils/*: move usage and applet bits to *.c filesDenys Vlasenko2010-06-152-144/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bbconfig: make it independent from printf functionsDenys Vlasenko2010-06-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * small fix in usage textDenys Vlasenko2010-06-071-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * modprobe: add support for -l and -s. Remove some unsupported optionsPascal Bellard2010-06-071-111/+0
| | | | | | | | | | | | | | | | | | | | | | | | Fixed some goofs in help text function old new delta modprobe_main 494 653 +159 packed_usage 27129 27145 +16 insmod_main 98 95 -3 Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-0/+2
|\| | | | | | | | | Conflicts: libbb/Kbuild.src
| * pipe_progress: make it independent of printf machineryDenys Vlasenko2010-06-061-0/+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>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-142-33/+11
|\|
| * yes: this applet doesn't have options, don't lie that it does.Denys Vlasenko2010-06-061-5/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * make it possible to keep usage texts in .c filesDenys Vlasenko2010-06-061-13/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * make it possible to have include/applets.h-esque entries in .c filesDenys Vlasenko2010-06-061-2/+1
| | | | | | | | | | | | As an example, bunzip2 and bzcat is changed to use it. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Remove requirement that include/applets.h must be sortedDenys Vlasenko2010-06-051-13/+8
| | | | | | | | | | | | | | | | First, I _again_ violated it - two xz-related applets are in wrong positions. Second, planned in-applet help text thing will be so much easier without this requirement... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-0/+16
|\|
| * *: simplify checks for gz/bz2/xz magicDenys Vlasenko2010-06-021-0/+16
| | | | | | | | | | | | | | | | | | | | | | function old new delta send_tree 360 355 -5 rpm2cpio_main 249 220 -29 setup_unzip_on_fd 150 118 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-66) Total: -66 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-145-42/+92
|\|
| * lineedit: fix column display for wide and combining chars in TAB completionTomas Heinrich2010-06-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta unicode_strwidth - 20 +20 read_line_input 4945 4953 +8 unicode_strlen 31 - -31 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 28/-31) Total: -3 bytes Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * archival/*: shrink by reusing sufficiently similar functionsDenys Vlasenko2010-05-311-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta append_ext - 16 +16 unxz_main 77 83 +6 unlzma_main 77 83 +6 uncompress_main 42 48 +6 gzip_main 184 190 +6 bzip2_main 114 120 +6 bunzip2_main 61 67 +6 bbunpack 469 475 +6 send_tree 355 360 +5 lzop_main 89 92 +3 gunzip_main 61 64 +3 make_new_name_lzop 84 82 -2 make_new_name_gunzip 114 112 -2 make_new_name_unxz 14 - -14 make_new_name_unlzma 14 - -14 make_new_name_uncompress 14 - -14 make_new_name_bunzip2 14 - -14 make_new_name_gzip 17 - -17 make_new_name_bzip2 17 - -17 ------------------------------------------------------------------------------ (add/remove: 1/6 grow/shrink: 10/2 up/down: 69/-94) Total: -25 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: teach tar et. al. to understand .xz by heartDenys Vlasenko2010-05-302-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_xz_stream - 4126 +4126 setup_unzip_on_fd 80 150 +70 open_zipped 113 131 +18 unpack_unxz 5 12 +7 send_tree 360 353 -7 unpack_xz_stream_stdin 3953 - -3953 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 3/1 up/down: 4221/-3960) Total: 261 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * unxz: new applet, complete with xzcat and xz -d aliasesDenys Vlasenko2010-05-303-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_xz_stream_stdin - 3953 +3953 lzma_main - 2601 +2601 lzma_len - 516 +516 dec_vli - 165 +165 dict_repeat - 103 +103 lzma_reset - 98 +98 fill_temp - 98 +98 crc32_validate - 93 +93 xz_dec_reset - 77 +77 unxz_main - 77 +77 index_update - 47 +47 xz_crc32 - 40 +40 packed_usage 27044 27060 +16 make_new_name_unxz - 14 +14 applet_names 2240 2254 +14 applet_main 1312 1324 +12 applet_nameofs 656 662 +6 unpack_unxz - 5 +5 send_tree 355 360 +5 applet_install_loc 164 166 +2 ------------------------------------------------------------------------------ (add/remove: 15/0 grow/shrink: 6/0 up/down: 7942/0) Total: 7942 bytes text data bss dec hex filename 844032 453 6812 851297 cfd61 busybox_old 852063 453 6812 859328 d1cc0 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rename FEATURE_LZMA_ALIAS to just LZMADenys Vlasenko2010-05-302-9/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * trim help text. -29 bytesDenys Vlasenko2010-05-271-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * unlzma: add "lzma -d" alias, add -t support, rename lzmacat->lzcatDenys Vlasenko2010-05-272-21/+31
| | | | | | | | | | | | | | | | | | | | Also coalesce some common strings text data bss dec hex filename 844110 453 6812 851375 cfdaf busybox_old 844061 453 6812 851326 cfd7e busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fgconsole: new applet by Grigory Batalov <bga@altlinux.org>Grigory Batalov2010-05-232-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta fgconsole_main - 51 +51 applet_names 2227 2237 +10 applet_main 1304 1308 +4 applet_nameofs 652 654 +2 applet_install_loc 163 164 +1 packed_usage 27079 27073 -6 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/1 up/down: 68/-6) Total: 62 bytes Signed-off-by: Grigory Batalov <bga@altlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-142-7/+11
|\|
| * ps: make "ps -o BAD" emit list of good -o paramsDenys Vlasenko2010-05-231-4/+4
| | | | | | | | | | | | | | | | | | | | also make ps help more informative function old new delta find_out_spec 58 103 +45 packed_usage 27039 27079 +40 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fuser: code shrink, fixing default signal, exitcode and PID displayMaksym Kryzhanovskyy2010-05-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Defult signal is KILL, not TERM. We used to not display PIDs with -k but without -s, but upstream (fuser from PSmisc 22.7) still shows PIDs. Filtering out of our own PID was buggy. function old new delta fuser_main 669 918 +249 search_dev_inode 67 74 +7 add_pid 38 39 +1 scan_pid_maps 225 222 -3 add_inode 91 88 -3 packed_usage 27047 27039 -8 scan_dir_links 102 76 -26 scan_link 78 46 -32 file_to_dev_inode 64 - -64 scan_proc_net 307 - -307 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 3/5 up/down: 257/-443) Total: -186 bytes Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * shell: make it possible to alias one of shells to "bash"Denys Vlasenko2010-05-202-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta packed_usage 27047 27054 +7 applet_names 2227 2232 +5 applet_main 1304 1308 +4 applet_nameofs 652 654 +2 applet_install_loc 163 164 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/0 up/down: 19/0) Total: 19 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-144-32/+80
|\|
| * typo fixDenys Vlasenko2010-05-171-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * stop using LAST_SUPPORTED_WCHAR and CONFIG_LAST_SUPPORTED_WCHAR, it's confusingDenys Vlasenko2010-05-161-6/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: partially fix wide and combining chars editingTomas Heinrich2010-05-161-0/+11
| | | | | | | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * cttyhack: document the need to setsidDenys Vlasenko2010-05-151-2/+10
| | | | | | | | | | | | | | function old new delta packed_usage 26988 27057 +69 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * trim help textDenys Vlasenko2010-05-091-3/+3
| | | | | | | | | | | | | | function old new delta packed_usage 27006 26988 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tune2fs: move to e2fsprogsDenys Vlasenko2010-05-091-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * install lspci and lsusb to /usr/binGustavo Zacarias2010-05-061-2/+2
| | | | | | | | | | | | | | Both can be run (to some degree) by mere users. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * rpm: make rpm -i SRPM.rpm install it to surrent dir; better help textDenys Vlasenko2010-05-061-4/+4
| | | | | | | | | | | | | | | | | | | | function old new delta rpm_main 1355 1358 +3 packed_usage 26732 26728 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 3/-4) Total: -1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rpm: code shrink. Now uses open_zipped's logic (factored out into ↵Denys Vlasenko2010-05-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | setup_unzip_on_fd()) function old new delta setup_unzip_on_fd - 80 +80 open_zipped 176 113 -63 rpm_main 1672 1355 -317 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 80/-380) Total: -300 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bootchartd: new appletDenys Vlasenko2010-05-042-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage: bootchartd start [PROG ARGS]|init|stop Create /var/log/bootchart.tgz with boot chart data Options: start: start background logging; with PROG, run PROG, then kill logging with USR1 stop: send USR1 to all bootchartd processes init: start background logging; stop when getty/gdm is seen (for init scripts) Under PID 1: as init, then exec $bootchart_init, /init, /sbin/init function old new delta bootchartd_main - 907 +907 dump_procs - 353 +353 packed_usage 26566 26735 +169 dump_file - 91 +91 static.dirs - 23 +23 applet_names 2176 2187 +11 applet_main 1284 1288 +4 applet_nameofs 642 644 +2 ------------------------------------------------------------------------------ (add/remove: 5/0 grow/shrink: 4/0 up/down: 1560/0) Total: 1560 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rfkill: new appletSouf Oued2010-05-022-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * grep: makw -w support unconditionalDenys Vlasenko2010-04-261-4/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: mingw.h: add WCOREDUMP an WUNTRACEDNguyễn Thái Ngọc Duy2010-09-101-0/+4
| |
* | win32: add termios stub so that it buildsNguyễn Thái Ngọc Duy2010-09-101-0/+1
| |
* | win32: add strptime()Nguyễn Thái Ngọc Duy2010-09-101-1/+1
| |
* | win32: add utimes and fix utime(file,NULL)Nguyễn Thái Ngọc Duy2010-09-101-1/+1
| |
* | win32: Replace rename() (WHY?)Nguyễn Thái Ngọc Duy2010-09-101-0/+2
| |
* | win32: Work around for dup2Nguyễn Thái Ngọc Duy2010-09-101-0/+2
| | | | | | | | Original dup2() does not return the fdto.
* | win32: Replace stat/lstatNguyễn Thái Ngọc Duy2010-09-101-1/+11
| |
* | win32: Replace open/fopen to support /dev/nullNguyễn Thái Ngọc Duy2010-09-101-0/+4
| |
* | win32: add next_path_sep()Nguyễn Thái Ngọc Duy2010-09-101-0/+4
| |
* | win32: add shell script and internal applet execution to spawn* and exec*Nguyễn Thái Ngọc Duy2010-09-101-0/+10
| | | | | | | | | | | | Most of this was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository.