aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tac: *really* add tac.c nowDenis Vlasenko2008-01-071-0/+68
|
* ps: fix build breakage from vda's recent commitDenis Vlasenko2008-01-079-64/+64
| | | | | *: whitespace fixes
* syslogd: fix shmat error checkDenis Vlasenko2008-01-071-1/+1
|
* tac: new applet. ~240 bytes.Denis Vlasenko2008-01-065-8/+30
| | | | | | | Copyright (C) 2003 Yang Xiaopeng <yxp at hanwang.com.cn> Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it>
* ps: fix overflow in USER and VSZ columnsDenis Vlasenko2008-01-065-83/+99
| | | | | | | | | | | | | | | | | function old new delta smart_ulltoa4 - 280 +280 smart_ulltoa5 283 408 +125 ulltoa6_and_space - 25 +25 scale 28 38 +10 bbunpack 358 366 +8 ps_main 259 261 +2 glob3 35 37 +2 fill_bounds 172 174 +2 process_stdin 456 446 -10 smart_ulltoa6 406 - -406 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 6/1 up/down: 454/-416) Total: 38 bytes
* ps: add conditional support for -o [e]timeDenis Vlasenko2008-01-055-49/+195
|
* Makefile.help: removing allbareconfig target from helpDenis Vlasenko2008-01-042-2/+1
| | | | | applet_tables: fix allnoconfig
* ip route: "ip route" was misbehaving (extra argv+1 ate 1st env var)Denis Vlasenko2008-01-041-4/+6
|
* init: wait for orphaned children too while waitingDenis Vlasenko2008-01-041-3/+9
| | | | | for sysinit-like processes (Harald Küthe <harald-tuxbox@arcor.de>)
* syslogd: avoid excessive tine() system callsDenis Vlasenko2008-01-031-16/+21
| | | | | | | | | | | | function old new delta timestamp_and_log_internal - 24 +24 log_locally 741 744 +3 timestamp_and_log 313 314 +1 syslogd_main 904 897 -7 quit_signal 101 94 -7 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/2 up/down: 28/-14) Total: 14 bytes
* syslogd: don't die if remote host's IP cannot be resolved.Denis Vlasenko2008-01-031-37/+63
| | | | | | | | | | | retry resolutions every two minutes instead. function old new delta syslogd_main 865 904 +39 timestamp_and_log 324 313 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 39/-11) Total: 28 bytes
* libbb: introduce and use safe_waitpid (loops in EINTR)Denis Vlasenko2008-01-0218-55/+51
| | | | | | | | | | | | | | | | | | | | | | *: 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
* adding libbb/printable.cDenis Vlasenko2007-12-301-0/+34
|
* libbb: introduce fputc_printable (from ed)Denis Vlasenko2007-12-305-22/+19
| | | | | | | | | | | | | | netstat: print control chars as ^C etc vi: style fixlet function old new delta fputc_printable - 100 +100 unix_do_one 451 487 +36 printLines 258 190 -68 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 136/-68) Total: 68 bytes
* httpd: support for "I:index.xml" syntax (Peter Korsgaard <jacmet@uclibc.org>)Denis Vlasenko2007-12-291-2/+11
| | | | | | | | | | function old new delta parse_conf 1481 1507 +26 handle_incoming_and_exit 2650 2663 +13 httpd_main 749 759 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 49/0) Total: 49 bytes
* trylink: instead of build error, disable --gc-sections if GLIBC && STATICDenis Vlasenko2007-12-283-25/+45
| | | | | nameif: glibc build fixlet
* netstat: in error message, report filename and line numberDenis Vlasenko2007-12-261-22/+23
| | | | | | | | | | where we see problematic data text data bss dec hex filename 778456 832 7344 786632 c00c8 busybox_old 778394 832 7344 786570 c008a busybox_unstripped
* save a bit of code with *strchrnul = '\0' trickDenis Vlasenko2007-12-265-19/+8
| | | | | | | | | function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
* Fix xmalloc_fgets_str so that it really does NOT strip terminator.Denis Vlasenko2007-12-265-40/+48
| | | | | | | | | | | | | | | | | | | | | | Add xmalloc_fgetline_str which does strip terminator, and use it in dpkg instead of xmalloc_fgets_str. netstat: use xmalloc_fgets_str - allows to eat strings with NULs (this fixes bug with some weird /proc/net/unix input) function old new delta xmalloc_fgets_internal - 191 +191 xmalloc_fgetline_str - 18 +18 do_info 116 120 +4 unix_do_one 451 447 -4 tcp_do_one 423 419 -4 send_tree 369 365 -4 xmalloc_fgets_str 178 15 -163 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes text data bss dec hex filename 778445 832 7344 786621 c00bd busybox_old 778483 832 7344 786659 c00e3 busybox_unstripped
* init: don't spawn tons of waiting children, one is enoughDenis Vlasenko2007-12-261-39/+47
| | | | | | | | | init: shrink signal disabling code init: rename some functions text data bss dec hex filename 778657 832 7344 786833 c0191 busybox_old 778445 832 7344 786621 c00bd busybox_unstripped
* init: sometimes, #ifdefs are cleaner.Denis Vlasenko2007-12-251-22/+13
|
* sync examples to what actual actual code expectsDenis Vlasenko2007-12-251-6/+6
|
* add expected outputMike Frysinger2007-12-251-0/+2
|
* convert #if to if -- let gcc optimize away dead code for usMike Frysinger2007-12-252-133/+109
|
* init: add FEATURE_KILL_REMOVED (Eugene Bordenkircher <eugebo@gmail.com>)Denis Vlasenko2007-12-252-63/+74
| | | | | init: slight size optimization
* fix typo in web pageDenis Vlasenko2007-12-241-1/+1
|
* Makefile: change version to 1.10.0.svnDenis Vlasenko2007-12-244-47/+57
| | | | | | | | | | | udhcpc: make UDP packet sending the same as raw sending in regards to error messages. Minor code size shrink. Total size grows due to added messages: text data bss dec hex filename 770312 683 7244 778239 bdfff busybox_old 770327 683 7244 778254 be00e busybox_unstripped
* Announce 1.9.01_9_0Denis Vlasenko2007-12-242-2/+71
|
* hush: fixlet for NOMMUDenis Vlasenko2007-12-242-69/+135
| | | | | update TODO_config_nommu
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko2007-12-2414-90/+179
| | | | | | | | | | | | *: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
* defconfig: updateDenis Vlasenko2007-12-244-9/+15
| | | | | | | appletli.c: add vda's (C) top: fixlet for incorrect display of "0" Makefile: reduce stack size from 20k to 16k
* od: reduce data/bss usage (code size went down too)Denis Vlasenko2007-12-241-41/+30
|
* umount: fix fallout from stack reduction changeDenis Vlasenko2007-12-241-2/+2
|
* vi: speed up some string opsDenis Vlasenko2007-12-231-42/+56
|
* cttyhack: trivial build fixletDenis Vlasenko2007-12-221-1/+1
|
* vi: reduce amount of memset'ing on each screen refreshDenis Vlasenko2007-12-221-9/+13
|
* vi: introduce FEATURE_VI_8BIT (as vi currently is not Unicode capable,Denis Vlasenko2007-12-223-22/+51
| | | | | | people may want to disable display of high-bit chars) ip: build fixlet
* perror_nomsg: don't print extra colonDenis Vlasenko2007-12-223-6/+8
| | | | | losetup: print name of loop device in error messages
* vi: change MAX_LINELEN meaning: now it is the biggest supportedDenis Vlasenko2007-12-222-317/+309
| | | | | | screen wigth. Introduce MAX_TABSTOP and MAX_INPUT_LEN. Fix redraw of very long lines and cursor movement past NULs.
* fix buglets found by randomconfigDenis Vlasenko2007-12-212-2/+4
|
* vi: fix a problem with displaying overlong linesDenis Vlasenko2007-12-211-107/+120
|
* udhcp: decided to not send "short" dhcp packets,Denis Vlasenko2007-12-211-1/+6
| | | | | but lets add comments how to do it if needed.
* udhcp: fix oversized packet sending (introduced by "slack for bad dhcp ↵Denis Vlasenko2007-12-207-43/+49
| | | | | | | | | | | | | | | | | servers" options); slight optimizations and function renaming udhcp_send_raw_packet - 391 +391 udhcp_send_kernel_packet - 197 +197 udhcp_recv_packet - 134 +134 get_raw_packet 353 326 -27 udhcp_get_packet 134 - -134 udhcp_kernel_packet 197 - -197 udhcp_raw_packet 391 - -391 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 0/1 up/down: 722/-749) Total: -27 bytes
* fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)Denis Vlasenko2007-12-165-213/+225
| | | | | | | | (add/remove: 0/13 grow/shrink: 6/19 up/down: 74/-492) Total: -418 bytes text data bss dec hex filename 778330 860 7408 786598 c00a6 busybox_old 777970 840 7376 786186 bff0a busybox_unstripped
* msh: reduce global data/bss usageDenis Vlasenko2007-12-161-228/+225
| | | | | | | | (add/remove: 1/5 grow/shrink: 28/6 up/down: 464/-394) Total: 70 bytes text data bss dec hex filename 778077 908 7568 786553 c0079 busybox_old 778330 860 7408 786598 c00a6 busybox_unstripped
* ash: reduce global data/bss usageDenis Vlasenko2007-12-161-179/+277
| | | | | | | | (add/remove: 4/29 grow/shrink: 76/21 up/down: 1007/-1713) Total: -706 bytes text data bss dec hex filename 777206 1084 8976 787266 c0342 busybox_old 778077 908 7568 786553 c0079 busybox_unstripped
* traceroute: stop using global data/bssDenis Vlasenko2007-12-161-43/+63
| | | | | | | | (add/remove: 0/15 grow/shrink: 0/1 up/down: 0/-95) Total: -95 bytes text data bss dec hex filename 777245 1094 9008 787347 c0393 busybox_old 777206 1084 8976 787266 c0342 busybox_unstripped
* add a link to vda's pet projectsDenis Vlasenko2007-12-131-0/+1
|
* num conversions: allow for leading '+' (renice needs that)Denis Vlasenko2007-12-111-5/+7
|
* cttyhack: add missing ';'Denis Vlasenko2007-12-102-6/+8
| | | | | init: remove pointless access() check