summaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* time: *const str = "xxx" ==> str[] = "xxx"Denis Vlasenko2007-06-171-3/+3
|
* strings: strings a b was processing a twice, fix thatDenis Vlasenko2007-06-171-34/+35
|
* move several applets to more correct ex-project. No code changes.Denis Vlasenko2007-06-123-896/+0
|
* diff: stop using data/bssDenis Vlasenko2007-06-041-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_diff 385 436 +51 diff_main 850 895 +45 dump_unified_vec 437 457 +20 prepare 335 334 -1 anychange 1 - -1 suff 4 - -4 status 135 131 -4 static.max_context 4 - -4 start 12 8 -4 pref 4 - -4 member 4 - -4 label2 4 - -4 label1 4 - -4 klist 4 - -4 ixold 4 - -4 ixnew 4 - -4 dl_count 4 - -4 dl 4 - -4 context_vec_start 4 - -4 context_vec_ptr 4 - -4 context_vec_end 4 - -4 context 4 - -4 clistlen 4 - -4 clist 4 - -4 clen 4 - -4 class 4 - -4 J 4 - -4 add_to_dirlist 71 64 -7 slen 8 - -8 sfile 8 - -8 len 8 - -8 file 8 - -8 get_dir 196 185 -11 newcand 97 85 -12 change 351 331 -20 stb2 96 - -96 stb1 96 - -96 diffreg 2835 2717 -118 ------------------------------------------------------------------------------ (add/remove: 0/27 grow/shrink: 3/8 up/down: 116/-482) Total: -366 bytes # size */*/diff.o text data bss dec hex filename 7055 8 305 7368 1cc8 busybox.t2/coreutils/diff.o 7002 0 0 7002 1b5a busybox.t3/coreutils/diff.o
* Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko2007-06-041-1/+1
| | | | | | tr: stop using globals needlessly. code: -103 bytes
* less: less <HUGEFILE + [End] busy loops, fix itDenis Vlasenko2007-05-311-1/+3
|
* less: forgot trivial #if ENABLE_xxxxDenis Vlasenko2007-05-311-0/+2
|
* delete tons of extra #includesDenis Vlasenko2007-05-313-12/+11
|
* use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko2007-05-311-11/+0
| | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
* more: stop using bssDenis Vlasenko2007-05-311-0/+2
| | | | | | | | | | | | | | # make && make bloatcheck function old new delta gotsig 86 107 +21 more_main 777 781 +4 cin_fileno 4 - -4 set_tty_to_initial_mode 25 - -25 new_settings 120 60 -60 initial_settings 120 60 -60 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/2 up/down: 25/-149) Total: -124 bytes
* less: fix very obscure memory corruption bugDenis Vlasenko2007-05-311-7/+38
|
* less: stop using data/bss. Code got smaller too.Denis Vlasenko2007-05-311-47/+82
| | | | | | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 700719 2896 17880 721495 b0257 busybox_old 700547 2832 17432 720811 affab busybox_unstripped # size */*/less.o text data bss dec hex filename 6861 50 344 7255 1c57 busybox.t0/miscutils/less.o 6657 0 0 6657 1a01 busybox.t1/miscutils/less.o
* nmeter: stop using data/bss; reduce amount of reads from /procDenis Vlasenko2007-05-301-48/+89
| | | | | | | # size */*/nmeter.o text data bss dec hex filename 4366 80 16 4462 116e busybox.t0/miscutils/nmeter.o 4386 0 0 4386 1122 busybox.t2/miscutils/nmeter.o
* whitespace fixesDenis Vlasenko2007-05-301-2/+2
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-2624-27/+25
| | | | | *: s/include "busybox.h"/include "libbb.h"
* hdparm: make -T -t code smaller (-194 bytes), and output prettierDenis Vlasenko2007-05-221-97/+75
|
* less: fix case when regex search finds nothingDenis Vlasenko2007-05-091-1/+7
|
* style fixes, no code changesDenis Vlasenko2007-04-163-3/+6
|
* teach find_root_device to deal with /dev/ subdirsDenis Vlasenko2007-04-131-1/+1
| | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>)
* style fixes. No code changesDenis Vlasenko2007-04-121-1/+1
|
* bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko2007-04-111-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
* - use skip_non_whitespace() where appropriateBernhard Reutner-Fischer2007-04-101-3/+1
|
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-043-6/+6
|
* hdparm: fix multisector mode settingDenis Vlasenko2007-03-311-2/+2
| | | | (from Toni Mirabete <amirabete@catix.cat>)
* hdparm: flag variables can easily be smaller than longDenis Vlasenko2007-03-281-96/+101
| | | | | | | | | | | | | | | | | | | | function old new delta process_dev 5247 5325 +78 bb_ioctl_on_off 72 78 +6 unregister_hwif 4 1 -3 ... perform_reset 4 1 -3 parse_xfermode 111 108 -3 noisy_piomode 4 1 -3 ... do_flush 4 1 -3 do_ctimings 4 1 -3 static.parm 4 - -4 static.multcount 4 - -4 parse_opts 54 48 -6 hdparm_main 1435 1383 -52 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/61 up/down: 84/-243) Total: -159 bytes
* hdparm: remove stray static (-200 bytes bss)Denis Vlasenko2007-03-281-1/+1
|
* hdparm: whitespace style fixesDenis Vlasenko2007-03-281-90/+89
|
* make pidfile writing configurable.Denis Vlasenko2007-03-271-0/+1
| | | | [ui]toa_to_buf: change API. No users yet.
* Attempt to get more applets compile for NOMMU.Denis Vlasenko2007-03-261-12/+3
| | | | | | | TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
* move everything to new NOMMU helpers, except udhcpDenis Vlasenko2007-03-262-60/+19
|
* nmeter: should die if stdout doesn't like him anymoreDenis Vlasenko2007-03-261-1/+1
|
* dc: use common_bufsiz1 for evaluation stackDenis Vlasenko2007-03-241-18/+17
| | | | | msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko2007-03-242-5/+7
| | | | | option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-201-1/+1
|
* adjtimex: fix argument types (most importantly, allow negative ones)Denis Vlasenko2007-03-141-4/+4
|
* watchdog: don't use static variableDenis Vlasenko2007-03-141-9/+9
|
* kill superfluous returns at the end of void functionsDenis Vlasenko2007-03-111-2/+0
|
* more: do not mess with "/dev/console" (!);Denis Vlasenko2007-03-101-2/+3
| | | | | | | fill whole 1st screen (was "screen sans one line"); fall back to cat if redirected or no ctty less: fall back to cat if no ctty (was exiting) resize: cosmetics
* - add chrt applet.Bernhard Reutner-Fischer2007-03-093-0/+132
| | | | | | text data bss dec hex filename 769 0 0 769 301 miscutils/chrt.o and could use some further shrinkage
* - move bbconfig into alphabetical orderBernhard Reutner-Fischer2007-03-091-1/+1
|
* less: handle yet another Home/End key sequence; expand a commentDenis Vlasenko2007-03-091-4/+13
|
* less: make '/' (regex search) scan input if no matches are foundDenis Vlasenko2007-03-081-8/+6
| | | | in input taken so far.
* less: yet another attempt to make search betterDenis Vlasenko2007-03-081-1/+17
|
* less: fix 'n'ext match: sometimes was going to 999999th lineDenis Vlasenko2007-03-081-10/+19
|
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-2/+2
|
* hdparm: style fixes, no code changesDenis Vlasenko2007-02-181-405/+271
|
* less: support xterm's home/end; improve forward searchDenis Vlasenko2007-02-141-8/+28
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko2007-02-064-4/+4
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-0323-0/+25
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #5Denis Vlasenko2007-01-293-24/+23
|