aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* rtc: remove useless code in "RTC is in UTC" detectionDenys Vlasenko2010-08-101-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: fix ndelay_on call; progress bar: small shrinkDenys Vlasenko2010-08-082-13/+13
| | | | | | | function old new delta bb_progress_update 682 670 -12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: make -T support enabled by defaultDenys Vlasenko2010-08-081-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: implement -T SEC; rework progress meter to not use signals (it was unsafe)Bradley M. Kuhn2010-08-085-63/+117
| | | | | | | | | | | | | | | function old new delta retrieve_file_data 364 450 +86 bb_progress_update 615 682 +67 packed_usage 27406 27422 +16 wget_main 2440 2453 +13 static.wget_longopts 145 155 +10 progress_meter 199 159 -40 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/1 up/down: 192/-40) Total: 152 bytes Signed-off-by: Bradley M. Kuhn <bkuhn@ebb.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix another bit of var_bash4 bugDenys Vlasenko2010-08-073-5/+16
| | | | | | | | | | But it _still_ doesn't pass! quoted case is a tough nut to crack function old new delta redirect 1281 1286 +5 subevalvar 1141 1142 +1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix a typo in config textDenys Vlasenko2010-08-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: add -v to help textDenys Vlasenko2010-08-071-2/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: cosmetic fixes, no code changesDenys Vlasenko2010-08-071-60/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix another bug detected by var_bash4.testsDenys Vlasenko2010-08-061-2/+3
| | | | | | | | | | | | | | ... but var_bash4.tests still does not pass! function old new delta expandarg 959 962 +3 localcmd 259 257 -2 readtoken1 3275 3260 -15 subevalvar 1178 1141 -37 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 3/-54) Total: -51 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* var_bash4.tests: better wording in commentDenys Vlasenko2010-08-061-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix dequoting error detected by var_bash4 testDenys Vlasenko2010-08-061-7/+6
| | | | | | | | | | | | | But the test still fails (one more bug to fix) function old new delta changepath 195 192 -3 readtoken1 3247 3240 -7 subevalvar 1204 1184 -20 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-30) Total: -30 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* update var_bash4 test. one more bug revealed by it now...Denys Vlasenko2010-08-062-8/+68
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* OpenBSD compatibilityWaldemar Brodkorb2010-08-063-10/+16
| | | | | Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: extend var_bash4.tests; nocode changesDenys Vlasenko2010-08-052-2/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: add a testcase for bug 2281 (currently fails). Small code cleanups.Denys Vlasenko2010-08-056-71/+104
| | | | | | | | | | | function old new delta changepath 195 192 -3 subevalvar 1204 1200 -4 readtoken1 3247 3240 -7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-14) Total: -14 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* syslogd: close/re-resolve/reopen remote sockets on some sendto() errorsDaniel Dickinson2010-08-031-6/+20
| | | | | | | | function old new delta syslogd_main 1201 1262 +61 Signed-off-by: Daniel Dickinson <cshore@csolve.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* update _shipped file with hurd fixDenys Vlasenko2010-08-021-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed.tests: make last test less confusingDenys Vlasenko2010-08-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix sed -i: unlike without -i, it does not forget rangesDenys Vlasenko2010-08-012-5/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stty: sort out preprocessor conditionalsJeremie Koenig2010-08-012-126/+214
| | | | | | | | | | * Move the definitions of missing constants to the top of the file. * Fix undefined IDX_xxx on missing termios constants. * FreeBSD has TABDLY, TAB0 and TAB3, but no TAB1 or TAB2 * Omit the definition of set_window_size() if TIOCGWINSZ is not available. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* klogd: make it work on non-linux systemsJeremie Koenig2010-08-012-19/+126
| | | | | | | | | | | | The klogctl() interface allows changing the console loglevel, but is Linux-specific. The more portable method of reading from _PATH_KLOG is added as an alternative. Adapted from the Debian kFreeBSD patch at: http://svn.debian.org/viewsvn/d-i/people/slackydeb/kfreebsd/busybox/1.14/debian/klogd.diff Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cttyhack: make it survive WERROR buildDenys Vlasenko2010-07-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cttyhack: serial console detection is Linux-specificJeremie Koenig2010-07-301-3/+12
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: do not use /sys to get number of CPUs. /proc should be ok.Marek Polacek2010-07-301-48/+1
| | | | | | | | | | | | function old new delta get_cpu_nr - 137 +137 mpstat_main 1140 1131 -9 get_proc_cpu_nr 137 - -137 get_sys_cpu_nr 178 - -178 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/1 up/down: 137/-324) Total: -187 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: better fix for IRQ countsDenys Vlasenko2010-07-301-19/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: fix total par-cpu IRQ countsDenys Vlasenko2010-07-301-10/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: fix/improve handling of interrupt namesDenys Vlasenko2010-07-301-10/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mpstat: small code shrinkMaksym Kryzhanovskyy2010-07-301-9/+7
| | | | | Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vlock: disable linux console calls on other systemsJeremie Koenig2010-07-302-3/+13
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bootchartd: mounting tmpfs is Linux-specificJeremie Koenig2010-07-301-7/+13
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: remove misguided dependency on PLATFORM_LINUXJeremie Koenig2010-07-301-1/+0
| | | | | Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: typo in tr.testsLeonid Lisovskiy2010-07-292-4/+4
| | | | | | | | | | | | | Hi tr.tests script from bb 1.17 testsuite has wrong "optional" conditional clauses. As result, some tr tests was skipped even if CONFIG_FEATURE_TR_CLASSES=y. Patch attached fixes problem for me. - Leonid Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* doc: remove trailing empty lineBernhard Reutner-Fischer2010-07-292-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* dc: tweak help textDenys Vlasenko2010-07-291-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: make it use long longs for integer opsDenys Vlasenko2010-07-292-36/+51
| | | | | | | | | | | | | | function old new delta print_base 176 238 +62 or 91 103 +12 eor 91 103 +12 and 91 103 +12 not 60 64 +4 mod 103 105 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/0 up/down: 104/0) Total: 104 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: fix duplicate "depends on PLATFORM_LINUX". no code changesDenys Vlasenko2010-07-291-8/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find_stray_empty_lines: make it workBernhard Reutner-Fischer2010-07-281-5/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* find_stray_empty_lines: fix tail "invalid context" errorJavier Viguera2010-07-281-1/+1
| | | | | | | | | | | | "tail -1" works only with one input file. Using it with multiple input files throws following error on Ubuntu systems: tail: option used in invalid context Adding "-n" makes it work on all cases. Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ulimit: set both hard and soft limits by defaultAlexander Shishkin2010-07-271-1/+6
| | | | | | | | function old new delta shell_builtin_ulimit 494 498 +4 Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mktemp: fix for dir/file.XXXXXX param (by Rob). +9 bytes.Denys Vlasenko2010-07-271-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/spaces/tabs/Denys Vlasenko2010-07-262-15/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: fix unterminated last lines. no code changesDenys Vlasenko2010-07-262-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* httpd: simplified "gzip" testPeter Korsgaard2010-07-261-11/+11
| | | | | | | | function old new delta handle_incoming_and_exit 2830 2807 -23 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: trailing empty lines removedDenys Vlasenko2010-07-2642-46/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: more empty lines removed. no code changesDenys Vlasenko2010-07-265-4/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass cosmetic removal of extra empty lines. no code changesDenys Vlasenko2010-07-2653-111/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix $! value when traps are setAlexander Shishkin2010-07-256-2/+41
| | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* httpd: optional support for gzip-compressed pagesPeter Korsgaard2010-07-252-4/+60
| | | | | | | | | | | | function old new delta send_file_and_exit 662 761 +99 handle_incoming_and_exit 2756 2830 +74 send_headers 603 654 +51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 224/0) Total: 224 bytes Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* httpd: cosmetic fixes, no code changesDenys Vlasenko2010-07-251-30/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: mostly revert recent wrong logic in "ask terminal" codeDenys Vlasenko2010-07-251-12/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>