summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-10grep: fix grep -F -e str1 -e str2 (was matching str2 only)Denis Vlasenko
by replacing "=" by "|=" here: found |= strstr(line, gl->pattern) != NULL; grep: optimization: stop on first -e match grep: stop using bss. -40 bytes
2007-09-09style fix, no code changesDenis Vlasenko
2007-09-09open_transformer: fix vda's goofupDenis Vlasenko
2007-09-08top: small fix for command line wrappingDenis Vlasenko
2007-09-08top: get rid of on-stack variable buffers, use permanent one.Denis Vlasenko
code shrank with and without TOPMEM: top_main 828 844 +16 display_process_list 1525 1473 -52 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 16/-52) Total: -36 bytes top_main 1150 1171 +21 display_topmem_process_list 1150 1167 +17 display_process_list 1525 1473 -52 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 38/-52) Total: -14 bytes
2007-09-08top: add sizeof(G) check; fix styleDenis Vlasenko
2007-09-08top: TOPMEM feature - 's(how sizes)' command. +2.5k when enabled,Denis Vlasenko
+80 bytes when disabled (mainly because of text wrapping fixes in display_process_list).
2007-09-07overload the existing '-q' flag so that if '-l' and '-q' are usedPaul Fox
together, a "short form" listing (just pathnames) is generated. change a few flag variables to "smallint" as well.
2007-09-07messages: by popular request allow PATH to be customized at build timeDenis Vlasenko
mount: smallish code shrink
2007-09-07syslogd: do not need to poll(), we can just block in read().Denis Vlasenko
function old new delta syslogd_main 1206 1106 -100 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-100) Total: -100 bytes text data bss dec hex filename 769820 1051 10764 781635 bed43 busybox_old 769702 1051 10764 781517 beccd busybox_unstripped
2007-09-07*: replace select-for-one descriptor with poll, it's smaller.Denis Vlasenko
$ ./.cmk bloatcheck function old new delta readit 406 364 -42 syslogd_main 1249 1206 -43 traceroute_main 4115 4060 -55 mysleep 112 45 -67 arpping 579 441 -138 tftp 1575 1182 -393 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-738) Total: -738 bytes text data bss dec hex filename 770580 1051 10764 782395 bf03b busybox_old 769820 1051 10764 781635 bed43 busybox_unstripped
2007-09-06fix infinite retry bug. also, reduce per-packet receive timeoutPaul Fox
to something more reasonable than 5 seconds, and add simple exponential backoff to compensate. improves performance on marginal networks.
2007-09-06fix -xdev behavior in the presence of two or more nested mount pointsPaul Fox
on the command line, e.g. "find / /boot -xdev".
2007-09-06umount: support (by ignoring) -i; style fixesDenis Vlasenko
2007-09-05usage: trim a bitDenis Vlasenko
function old new delta packed_usage 23113 23011 -102 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-102) Total: -102 bytes text data bss dec hex filename 770610 1051 10764 782425 bf059 busybox_old 770508 1051 10764 782323 beff3 busybox_unstripped
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-09-05tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau ↵Denis Vlasenko
<landau_alex@yahoo.com>)
2007-09-05busybox --install -s: prevent puzzling "/bin/busybox: Invalid argument" messageDenis Vlasenko
libbb: comment out realpath, add readlink which doesn't warn
2007-09-04tar: conditionally don't wait for vforked child to exec, as it alwaysDenis Vlasenko
works right on Linux, and anyway mayresult only on less-than-clear error message only, it will not cause tar to misbehave. function old new delta open_transformer 98 80 -18 writeTarFile 714 547 -167 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-185) Total: -185 bytes text data bss dec hex filename 770651 1051 10764 782466 bf082 busybox_old 770463 1051 10764 782278 befc6 busybox_unstripped
2007-09-04mount: ignore NFS bg option on NOMMU machinesDenis Vlasenko
2007-09-03du: remove statics (by Bernhard Fischer <rep.dot.nop@gmail.com>)Denis Vlasenko
$ ./.cmk bloatcheck function old new delta du_main 340 348 +8 print 39 40 +1 status 129 125 -4 slink_depth 4 - -4 print_files 4 - -4 one_file_system 4 - -4 max_print_depth 4 - -4 du_depth 4 - -4 disp_hr 4 - -4 count_hardlinks 4 - -4 du 407 401 -6 dir_dev 8 - -8 ------------------------------------------------------------------------------ (add/remove: 0/8 grow/shrink: 2/2 up/down: 9/-46) Total: -37 bytes text data bss dec hex filename 864 12 28 904 388 busybox.t3/coreutils/du.o 867 0 0 867 363 busybox.t4/coreutils/du.o 770647 1063 10788 782498 bf0a2 busybox.t3/busybox_unstripped 770651 1051 10764 782466 bf082 busybox.t4/busybox_unstripped
2007-09-03login: do reject wrong passwords with PAM authDenis Vlasenko
2007-09-03trylink: reinstate accidentally deleted --verboseDenis Vlasenko
trylink: remove commented-out parts
2007-09-02- IFUPDOWN_IFSTATE_PATH depends on IFUPDOWNBernhard Reutner-Fischer
2007-09-02- Generally strip off -l that does not pull in a lib.Bernhard Reutner-Fischer
If l_list is non-empty then add the group flags.
2007-09-02- fix bug where we linked again -lm even though it is not needed.Bernhard Reutner-Fischer
For BBOX_LIB_LIST="crypt m" trylink ... with just applet true, we pulled in libm because in this case we tried to use invalid flags (plain "-l" without a lib) which of course failed, thus the script thought that -lm was needed. The fix is not to pass "-l" without a lib if we are about to check if any or the last remaining lib is really needed.
2007-08-31isrv: use monotonic_secDenis Vlasenko
runsv: do not use clock_gettime if !MONOTONIC_CLOCK
2007-08-29top: another readability fixDenis Vlasenko
2007-08-29vsz and rss are unsigned longs (ulong ~= width of void* =>Denis Vlasenko
suitable for expressing total RAM in system). We account for "32 bit in 64 bit" systems by storing kbytes, not bytes there. Should allow for up to ~2000 Gb RAM on 32 bits.
2007-08-29top: don't wait before final bailout (try top -b -n1).Denis Vlasenko
top: make code a bit more readable.
2007-08-29mount: allow (and ignore) -iDenis Vlasenko
2007-08-28smart_ulltoa5: emit small letters k,m,g... - makes topDenis Vlasenko
more readable
2007-08-28top: use poll instead of select for waiting on one descriptorDenis Vlasenko
smart_ulltoa5: make it more cryptic. -50 bytes. function old new delta passwd_main 1095 1103 +8 getNum 557 565 +8 buffer_fill_and_print 73 76 +3 udhcpc_main 2393 2395 +2 mkfs_minix_main 3071 3070 -1 dname_enc 377 373 -4 expmeta 480 472 -8 smart_ulltoa5 334 283 -51 top_main 911 815 -96 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/5 up/down: 21/-160) Total: -139 bytes text data bss dec hex filename 770872 1063 10788 782723 bf183 busybox_old 770732 1063 10788 782583 bf0f7 busybox_unstripped
2007-08-28mount: don't close fd twice in NFS codeDenis Vlasenko
2007-08-27cp: fix recursion check to not waste bytes remembering names of dirsDenis Vlasenko
2007-08-27cp: detect and prevent infinite recursionDenis Vlasenko
2007-08-26ps: fix RSS parsing (rss field in /proc/PID/stat is in pages, not bytes)Denis Vlasenko
2007-08-26add links to vda's pet projectsDenis Vlasenko
2007-08-26install: shrink a bit, fix two bugletsDenis Vlasenko
2007-08-25Start a small document "why ifupdown is bad"Denis Vlasenko
2007-08-25make copy_file() a bit easier to understand, and smallerDenis Vlasenko
function old new delta copy_file 1565 1447 -118 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-118) Total: -118 bytes text data bss dec hex filename 770938 1063 10788 782789 bf1c5 busybox_old 770814 1063 10788 782665 bf149 busybox_unstripped
2007-08-25support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
2007-08-25- add Yann's email-addrBernhard Reutner-Fischer
2007-08-24cp,mv: simpler arg[cv] handling -> smallish code savingsDenis Vlasenko
2007-08-24- cosmetic html cleanupBernhard Reutner-Fischer
2007-08-24- obfuscate addrs a little bitBernhard Reutner-Fischer
2007-08-24cp: make POSIX-me-harder mode complain with a bit less insane messageDenis Vlasenko
2007-08-24spelling fixes to websiteDenis Vlasenko
2007-08-24Cosmetic fixes to webpageDenis Vlasenko
2007-08-24add missed attribution to httpd sendfile supportDenis Vlasenko