summaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2008-02-10microcom: read more than 1 byte from device, if possibleDenis Vlasenko
2008-02-09microcom: compile fixesDenis Vlasenko
2008-02-09microcom: split -d (delay) option away from -tDenis Vlasenko
2008-02-08microcom: update from maintainerDenis Vlasenko
2008-02-08- add eject -s for SCSI- and USB-devices (Nico Erfurth)Bernhard Reutner-Fischer
2008-01-28microcom: undo #define trick, gcc fails to take advantage of itDenis Vlasenko
2008-01-27mkswap, readahead: stop using fdlength, it is reported to be unreliableDenis Vlasenko
2008-01-27microcom: update from the authorDenis Vlasenko
2008-01-27- fix conflicting decls of syslog related facilitynames and prioritynames tablesBernhard Reutner-Fischer
2008-01-24crond: small code shrink and readability enhancementsDenis Vlasenko
2008-01-19- Fix hdparm's ioctl parameter passing (John Brandwood)Bernhard Reutner-Fischer
2008-01-07ps: fix build breakage from vda's recent commitDenis Vlasenko
*: whitespace fixes
2008-01-02libbb: introduce and use safe_waitpid (loops in EINTR)Denis Vlasenko
*: use more approproate (shorter) versions of wait() function old new delta safe_waitpid - 48 +48 wait_any_nohang - 17 +17 send_tree 365 369 +4 processorstop 432 435 +3 text_yank 110 108 -2 make_human_readable_str 202 200 -2 crond_main 1368 1366 -2 handle_sigchld 49 43 -6 reapchild 166 159 -7 custom 260 250 -10 checkscript 191 177 -14 wait_nohang 17 - -17 wait_pid 43 - -43 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes
2007-11-06fbset: fix buglet where we were using wrong pointerDenis Vlasenko
readahead: stop using stdio.h *: style fixes
2007-11-04ifconfig: code shrinkDenis Vlasenko
adjtimex: code shrink libbb: move nth_string function into libbb hdparm: nth_string was here text data bss dec hex filename 730013 10334 12032 752379 b7afb busybox_old 730093 10134 12032 752259 b7a83 busybox_unstripped
2007-10-30hdparm: code shrinkDenis Vlasenko
text data bss dec hex filename 776494 974 9420 786888 c01c8 busybox_old 776099 974 9420 786493 c003d busybox_unstripped
2007-10-11mt: eliminate vector of structures with pointers (bad for libbusybox).Denis Vlasenko
It's a win for static build too: function old new delta opcode_name - 213 +213 opcode_value - 68 +68 mt_main 281 256 -25 opcodes 280 - -280 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/1 up/down: 281/-305) Total: -24 bytes text data bss dec hex filename 767403 974 9420 777797 bde45 busybox_old 767224 974 9420 777618 bdd92 busybox_unstripped
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-01printf("%s\n") -> puts()Denis Vlasenko
2007-10-01'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko
263 bytes saved.
2007-09-30introduce and use close_on_exec_on(fd). -50 bytes.Denis Vlasenko
2007-09-29small code shrinkDenis Vlasenko
2007-09-28hdparm: paranoia-induced fix against theoretical div-by-0 caseDenis Vlasenko
2007-09-28hdparm: more robust (re overflows) code. +38 bytes.Denis Vlasenko
2007-09-28hdparm: reduce possibility of numeric overflow in -T.Denis Vlasenko
do_time 386 410 +24 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 24/0) Total: 24 bytes
2007-09-28hdparm: simplify timing measurement (it wa the last last userDenis Vlasenko
of setitimer in the tree). static.thousand 16 - -16 read_big_block 81 46 -35 getitimer 41 - -41 setitimer 47 - -47 __GI_setitimer 47 - -47 do_time 480 386 -94 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 0/2 up/down: 0/-280) Total: -280 bytes M miscutils/hdparm.c
2007-09-28hdparm: get rid of static variablesDenis Vlasenko
process_dev 5309 5311 +2 unregister_hwif 1 - -1 ........... Xreadahead 4 - -4 seek_to_zero 25 17 -8 hdparm_main 1242 1227 -15 do_time 547 480 -67 ------------------------------------------------------------------------------ (add/remove: 0/83 grow/shrink: 1/3 up/down: 2/-248) Total: -246 bytes
2007-09-27less: make 'f' page forwardDenis Vlasenko
2007-09-27hdparm: use fixed fd #3 for device being interrogatedDenis Vlasenko
(surprisingly, on i386 almost no code size change)
2007-09-27introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko
2007-09-27style and message text fixesDenis Vlasenko
2007-09-27introduce safe_poll (fixes a problem in top)Denis Vlasenko
function old new delta safe_poll - 77 +77 svlogd_main 1470 1466 -4 zcip_main 1530 1524 -6 forkexec 1345 1338 -7 decode_format_string 795 788 -7 collect_blk 474 467 -7 buffer_pread 540 532 -8 tftp 1182 1172 -10 microcom_main 763 749 -14 arpping 441 424 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/9 up/down: 77/-80) Total: -3 bytes text data bss dec hex filename 770162 1034 10404 781600 bed20 busybox_old 770158 1034 10404 781596 bed1c busybox_unstripped
2007-09-22include libbb.h, not busybox.hDenis Vlasenko
2007-09-22- actually mv microcom.c to miscutilsBernhard Reutner-Fischer
2007-09-22move microcom to miscutilsDenis Vlasenko
2007-09-05watchdog: allow millisecond spec (-t 250ms)Denis Vlasenko
function old new delta packed_usage 23069 23113 +44 static.suffixes - 24 +24 watchdog_main 147 160 +13 static.V - 1 +1 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/0 up/down: 82/0) Total: 82 bytes
2007-08-19crond: code shrinkDenis Vlasenko
2007-08-19libbb,crond,lash: fix getopt32 (don't know how it managed to slip through)Denis Vlasenko
*: fcntl(fd, F_GETFL) doesn't require third parameter at all.
2007-08-18crond: don't start sendmail with absolute pathDenis Vlasenko
crond: don't report obsolete version, report true bbox version
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-17assorted fixes for breakage found by randomconfigDenis Vlasenko
2007-08-16hdparm: shrink rodata by ~250 bytesDenis Vlasenko
2007-08-16whitespace fixes, no code changesDenis Vlasenko
2007-08-13httpd: round down sendfile byte count to 64kDenis Vlasenko
*: style fixes
2007-08-13s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
2007-08-03less: add a bit more robustness in keyboard reading codeDenis Vlasenko
2007-08-03ttysize: update copyrightDenis Vlasenko
2007-08-02ttysize: new applet. +200 bytesDenis Vlasenko
2007-07-24Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko
which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped