aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* hush: use ash's ulimit builtin; make it more more bash0like while at itDenys Vlasenko2010-03-065-215/+253
| | | | | | | | | | | | | | | | | | | Based on a patch by Tobias Klauser <tklauser@distanz.ch> function old new delta shell_builtin_ulimit - 498 +498 limits_tbl 33 88 +55 ulimit_opt_string - 38 +38 bltins1 288 300 +12 limits_name 127 - -127 ulimitcmd 415 7 -408 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 603/-535) Total: 68 bytes text data bss dec hex filename 839229 453 6828 846510 ceaae busybox_old 839423 453 6828 846704 ceb70 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: do not show progress bar if we get error right away. +13 bytesDenys Vlasenko2010-03-055-8/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use NULL for null pointersDenys Vlasenko2010-03-0519-36/+36
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/loop.c: style and readability fixes, no code changesDenys Vlasenko2010-03-051-13/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: make 's' display easier to understandDenys Vlasenko2010-03-041-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modprobe: remove 2k limit on /proc/cmdlineDenys Vlasenko2010-03-031-7/+5
| | | | | | | | function old new delta do_modprobe 365 520 +155 parse_and_add_kcmdline_module_options 149 - -149 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping: do not leak data from stack; shrinkDenys Vlasenko2010-03-031-47/+57
| | | | | | | | | | | | | | | | | | | FANCY ping: function old new delta common_ping_main 386 1732 +1346 sendping6 98 83 -15 sendping4 188 158 -30 ping4 575 - -575 ping6 756 - -756 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/2 up/down: 1346/-1376) Total: -30 bytes !FANCY ping: function old new delta hostname 4 - -4 common_ping_main 566 499 -67 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* head,tail: trim help text; make suffixes unconditional for head tooDenys Vlasenko2010-03-022-34/+33
| | | | | | | function old new delta packed_usage 26411 26375 -36 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: do not check for POLLIN/POLLOUT only, just in case it's POLHUP/POLERRDenys Vlasenko2010-03-024-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* syslog: allow multiple -R optionsThomas Geulig2010-02-281-36/+50
| | | | | | | | | function old new delta syslogd_main 1082 1177 +95 init_data 72 64 -8 Signed-off-by: Thomas Geulig <geulig@nentec.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modprobe: pick up module options from /proc/cmdline tooDenys Vlasenko2010-02-271-0/+34
| | | | | | | | | | Based on patch by Ozan Çağlayan (ozan AT pardus.org.tr) function old new delta parse_and_add_kcmdline_module_options - 149 +149 do_modprobe 357 365 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2010-02-272-28/+36
|\
| * Config: fix alphabetical orderingBernhard Reutner-Fischer2010-02-261-28/+28
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * tail: document FANCY flags in helptextBernhard Reutner-Fischer2010-02-261-0/+4
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * df: explain FANCY options in helptextBernhard Reutner-Fischer2010-02-261-0/+4
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | *: gethostname-related fixesDenys Vlasenko2010-02-273-35/+13
|/ | | | | | | | function old new delta hostname_main 218 231 +13 nfsmount 3541 3474 -67 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reuse a few stringsBernhard Reutner-Fischer2010-02-262-5/+5
| | | | | | | | | text data bss dec hex filename 839040 453 6828 846321 ce9f1 busybox_old 839019 453 6828 846300 ce9dc busybox_unstripped Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* su: move restricted_shell into su.c (the only user)Denys Vlasenko2010-02-264-49/+18
| | | | | | | | | | | | | | | | | | function old new delta su_main 448 468 +20 buffer_fill_and_print 179 196 +17 scriptreplay_main 205 208 +3 localcmd 275 277 +2 hash_find 233 234 +1 devmem_main 469 463 -6 install_main 724 716 -8 setusershell 11 - -11 find_pair 187 169 -18 restricted_shell 49 - -49 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/3 up/down: 43/-92) Total: -49 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setup_environment(): eliminate one parameterDenys Vlasenko2010-02-265-11/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crontab: use setup_environmentBernhard Reutner-Fischer2010-02-264-23/+12
| | | | | | | | | | function old new delta setup_environment 184 198 +14 .rodata 131770 131747 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 14/-23) Total: -9 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* free: silence warning about unused argvBernhard Reutner-Fischer2010-02-261-1/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: skip whitespace between array name and subscriptAlexander Shishkin2010-02-262-1/+4
| | | | | | | | | | | | | It is supported in both mawk and gawk and there are actually scripts out there that use this "flexibility". function old new delta next_token 1144 1152 +8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 8/0) Total: 8 bytes Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: tweak error messageBernhard Reutner-Fischer2010-02-251-2/+6
| | | | | | | | | | | | | big find: find: missing argument to `-exec' we now say find: -exec requires an argument instead of the cryptic message we emitted previously. Additional benefit is that it's now 23 bytes smaller. Add TODO to add '-exec {} +' support Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* typo fixesDenys Vlasenko2010-02-241-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix subsystem passing (new kernels broke it again) - bugs 639, 721.Denys Vlasenko2010-02-241-22/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk: do not treat names ending in '0' as partitionsDenys Vlasenko2010-02-241-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak README (s/svn/git)Denys Vlasenko2010-02-241-6/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* install: strip before mode/uid/gid is set, not after.Denys Vlasenko2010-02-211-12/+13
| | | | | | | | function old new delta install_main 694 716 +22 basename 21 - -21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* loadfont/setfont: optional PSF2 font supportHarald Becker2010-02-212-108/+224
| | | | | Signed-off-by: Harald Becker <ralda@gmx.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* free: code shrinkDenys Vlasenko2010-02-211-35/+48
| | | | | | | function old new delta free_main 330 302 -28 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Replace __uClinux__ define with !BB_MMUDenys Vlasenko2010-02-212-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bug 1087. Fix by Leonid (lly.dev AT gmail.com)Denys Vlasenko2010-02-213-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix typos in comments and docDenys Vlasenko2010-02-192-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix Unicode build on glibcDenys Vlasenko2010-02-191-2/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* netstat: fix a trivial bugDenys Vlasenko2010-02-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* usage: fix typoBernhard Reutner-Fischer2010-02-141-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* delete forgotten chunk in prev commitDenys Vlasenko2010-02-141-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim help textDenys Vlasenko2010-02-141-66/+65
| | | | | | | function old new delta packed_usage 26860 26663 -197 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim/regularize help textDenys Vlasenko2010-02-131-108/+113
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gunzip: inflate_codes(): add fix from upstream gzip to prevent false CRC errorJoakim Tjernlund2010-02-111-1/+4
| | | | | Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include/platform.h: PowerPC can also do unaligned accessJoakim Tjernlund2010-02-111-1/+1
| | | | | Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix bug 1057 "busybox wget segfaults with http_proxy environment set"Denys Vlasenko2010-02-111-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: ignore --no-check-certificateBernhard Reutner-Fischer2010-02-102-1/+3
| | | | | | | | | | | | | Used in a number of scripts, don't barf on it (we don't do ssl ATM). function old new delta static.wget_longopts 122 145 +23 .rodata 131925 131947 +22 packed_usage 26860 26859 -1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 45/-1) Total: 44 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* compat and warning fixesDenys Vlasenko2010-02-092-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/md5.c: remove wrong commentDenys Vlasenko2010-02-081-7/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id/linux_swap: detect suspended image signatures tooVladimir Dronnikov2010-02-081-1/+5
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: note a FIXMEDenys Vlasenko2010-02-081-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shaNNNsum: accept and ignore -b and -tDenys Vlasenko2010-02-071-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bloat-o-meter: convert to print() callsBernhard Reutner-Fischer2010-02-071-4/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* bloat-o-meter: fix quadric behavior in alias resolutionBernhard Reutner-Fischer2010-02-071-29/+68
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>