aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2007-05-30nmeter: stop using data/bss; reduce amount of reads from /procDenis Vlasenko
# 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
2007-05-30whitespace fixesDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-05-22hdparm: make -T -t code smaller (-194 bytes), and output prettierDenis Vlasenko
2007-05-09less: fix case when regex search finds nothingDenis Vlasenko
2007-04-16style fixes, no code changesDenis Vlasenko
2007-04-13teach find_root_device to deal with /dev/ subdirsDenis Vlasenko
(by "Kirill K. Smirnov" <lich@math.spbu.ru>)
2007-04-12style fixes. No code changesDenis Vlasenko
2007-04-11bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko
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
2007-04-10- use skip_non_whitespace() where appropriateBernhard Reutner-Fischer
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-03-31hdparm: fix multisector mode settingDenis Vlasenko
(from Toni Mirabete <amirabete@catix.cat>)
2007-03-28hdparm: flag variables can easily be smaller than longDenis Vlasenko
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
2007-03-28hdparm: remove stray static (-200 bytes bss)Denis Vlasenko
2007-03-28hdparm: whitespace style fixesDenis Vlasenko
2007-03-27make pidfile writing configurable.Denis Vlasenko
[ui]toa_to_buf: change API. No users yet.
2007-03-26Attempt to get more applets compile for NOMMU.Denis Vlasenko
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).
2007-03-26move everything to new NOMMU helpers, except udhcpDenis Vlasenko
2007-03-26nmeter: should die if stdout doesn't like him anymoreDenis Vlasenko
2007-03-24dc: use common_bufsiz1 for evaluation stackDenis Vlasenko
msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged
2007-03-24NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko
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.
2007-03-20fix accumulated whitespace and indentation damageDenis Vlasenko
2007-03-14adjtimex: fix argument types (most importantly, allow negative ones)Denis Vlasenko
2007-03-14watchdog: don't use static variableDenis Vlasenko
2007-03-11kill superfluous returns at the end of void functionsDenis Vlasenko
2007-03-10more: do not mess with "/dev/console" (!);Denis Vlasenko
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
2007-03-09- add chrt applet.Bernhard Reutner-Fischer
text data bss dec hex filename 769 0 0 769 301 miscutils/chrt.o and could use some further shrinkage
2007-03-09- move bbconfig into alphabetical orderBernhard Reutner-Fischer
2007-03-09less: handle yet another Home/End key sequence; expand a commentDenis Vlasenko
2007-03-08less: make '/' (regex search) scan input if no matches are foundDenis Vlasenko
in input taken so far.
2007-03-08less: yet another attempt to make search betterDenis Vlasenko
2007-03-08less: fix 'n'ext match: sometimes was going to 999999th lineDenis Vlasenko
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-02-18hdparm: style fixes, no code changesDenis Vlasenko
2007-02-14less: support xterm's home/end; improve forward searchDenis Vlasenko
2007-02-06EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #5Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #3Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-29taskset: fix incorrect rage spec and allow 0xXXX inputDenis Vlasenko
ping: shave off 60 bytes
2007-01-26- readahead depends on LFSBernhard Reutner-Fischer
2007-01-24"depends ..." -> "depends on ..."Mike Frysinger
2007-01-24correct file format errorsMike Frysinger
2007-01-22- sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer
2007-01-21- use makedev to get device number, else it gives wrong major/minor numbers ↵Bernhard Reutner-Fischer
to devices files on systems which use big device numbers. Closes #919
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option
2006-12-31less: fix <tab><backspace> bugletDenis Vlasenko