aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * hush: reduce indentation, no code changesDenys Vlasenko2018-07-181-27/+25
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: fix 'x=; echo ${x:-"$@"}' producing 'BUG in varexp2' messageDenys Vlasenko2018-07-181-7/+14
| | | | | | | | | | | | | | function old new delta expand_string_to_string 126 128 +2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: smaller code to set o_string to ""Denys Vlasenko2018-07-181-4/+2
| | | | | | | | | | | | | | | | function old new delta encode_then_expand_vararg 399 398 -1 parse_stream 2753 2748 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixesDenys Vlasenko2018-07-175-12/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: faster/smaller code to check for presense of multiple chars in stringDenys Vlasenko2018-07-171-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | Go over the string only once. function old new delta encode_then_expand_string 126 105 -21 encode_then_expand_vararg 443 399 -44 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-65) Total: -65 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quotingDenys Vlasenko2018-07-1719-57/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dollar_altvalue1 test partially fails: word splitting of unquoted ${var:+...} is not correct function old new delta encode_then_expand_vararg - 443 +443 expand_one_var 1599 1610 +11 parse_stream 2756 2753 -3 encode_string 250 242 -8 setup_heredoc 308 298 -10 expand_and_evaluate_arith 106 96 -10 encode_then_expand_string 142 126 -16 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/5 up/down: 454/-47) Total: 407 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * cp: add missing quote in config snippetDenys Vlasenko2018-07-171-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: shrink code in builtin_evalDenys Vlasenko2018-07-151-26/+26
| | | | | | | | | | | | | | function old new delta builtin_eval 126 119 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: accept and ignore --color[=anything]Denys Vlasenko2018-07-131-3/+8
| | | | | | | | | | | | | | function old new delta grep_main 827 834 +7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * cp: optional --reflink supportDenys Vlasenko2018-07-133-0/+46
| | | | | | | | | | | | | | | | function old new delta cp_main 428 512 +84 copy_file 1676 1742 +66 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * usage: do not print trailing space for commands which have no argumentsDenys Vlasenko2018-07-091-2/+5
| | | | | | | | | | | | | | function old new delta bb_show_usage 120 130 +10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sort: add -V "sort version"Denys Vlasenko2018-07-081-20/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta packed_usage 32855 32858 +3 get_key 500 503 +3 sort_opt_str 36 37 +1 sort_main 1037 1036 -1 compare_keys 795 783 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/2 up/down: 7/-13) Total: -6 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: implement -executableDenys Vlasenko2018-07-061-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta func_executable - 19 +19 parse_params 1505 1519 +14 static.params 216 228 +12 packed_usage 32847 32855 +8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 53/0) Total: 53 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * cpio: if longopts are enabled, accept --null (synonym for -0)Denys Vlasenko2018-07-061-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tweak help textsDenys Vlasenko2018-07-062-4/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: implement -quitDenys Vlasenko2018-07-061-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta packed_usage 32816 32846 +30 find_main 446 464 +18 func_quit - 13 +13 parse_params 1495 1505 +10 static.params 210 216 +6 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 77/0) Total: 77 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nproc: implement --all --ignore=Nharoon maqsood2018-07-061-10/+34
| | | | | | | | | | | | | | | | | | | | | | function old new delta nproc_main 98 242 +144 packed_usage 32799 32816 +17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 161/0) Total: 161 bytes Signed-off-by: haroon maqsood <maqsood3525@live.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sendmail: fix parsing of addresses in angle bracketsRaffaello D. Di Napoli2018-07-041-1/+1
| | | | | | | | | | | | | | | | Pointer e needs to be wound back in order to overwrite '>' with '\0'. Regression introduced in 20077c1429 Signed-off-by: Raffaello D. Di Napoli <rafdev@dinapo.li> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcp: add decimal option values in comments, no code changesDenys Vlasenko2018-07-041-30/+30
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcp: tweak comment indentation, no code changesDenys Vlasenko2018-07-041-39/+39
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcp: add option 211, "reboot time"Jeremy Kerr2018-07-042-0/+3
| | | | | | | | | | | | | | As defined in RFC 5071. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * examples/var_service/: use standard logger script, viewer and pager scriptsDenys Vlasenko2018-07-0351-383/+81
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * examples/var_service/: use "svc" for service commands, other tweaksDenys Vlasenko2018-07-038-30/+35
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hexdump: fix short file of zero butes treated as dupDenys Vlasenko2018-07-032-5/+27
| | | | | | | | | | | | | | function old new delta bb_dump_dump 1466 1491 +25 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: fix fetching of https URLs without http proxyDenys Vlasenko2018-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The "fix fetching of https URLs with http proxy" commit broke the usual http-to-https redirect: $ wget http://busybox.net/downloads/busybox-1.29.0.tar.bz2 Connecting to busybox.net (140.211.167.122:80) Connecting to busybox.net (140.211.167.122:443) wget: server returned error: HTTP/1.1 400 Bad Request Fixing... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: increase minimum G.FREQHOLD_cnt from 8 to 10Denys Vlasenko2018-07-021-3/+4
| | | | | | | | | | | | | | With ~0.9 initiall offsets, using 8 results in a bit too eager frequency correction. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Start 1.30.0 development cycleDenys Vlasenko2018-07-011-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Bump version to 1.29.01_29_0Denys Vlasenko2018-07-011-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/mount.tests: fix false positiveDenys Vlasenko2018-06-282-0/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * vi: placate "warning: variable orig_buf set but not used"Denys Vlasenko2018-06-271-25/+31
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/pidof.tests: fix false positive take 2Denys Vlasenko2018-06-271-0/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * vi: placate "warning: statement with no effect"Denys Vlasenko2018-06-271-1/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nslookup: placate "warning: unused variable i"Denys Vlasenko2018-06-271-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/tar.tests: fix false positiveDenys Vlasenko2018-06-271-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/pidof.tests: fix false positiveDenys Vlasenko2018-06-271-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/bzcat.tests: fix false positive take 2Denys Vlasenko2018-06-271-5/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/unexpand/unexpand-works-like-GNU: fix false positiveDenys Vlasenko2018-06-271-0/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/bzcat.tests: fix false positiveDenys Vlasenko2018-06-271-3/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/tar.tests: fix false positiveDenys Vlasenko2018-06-271-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite/cat.tests: fix false positiveDenys Vlasenko2018-06-271-0/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: crypt() in newer glibc requires include <crypt.h>Denys Vlasenko2018-06-271-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: unset_local_var_len is only used by unset_local_varDenys Vlasenko2018-06-261-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: fix compile problem found by randomconfigDenys Vlasenko2018-06-261-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * scripts/randomtest: disable CONFIG_NSLOOKUP for uclibcDenys Vlasenko2018-06-261-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * scripts/randomtest: disable CONFIG_FEATURE_INETD_RPC for glibcDenys Vlasenko2018-06-261-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * scripts/randomtest: disable CONFIG_FEATURE_MOUNT_NFS for glibcDenys Vlasenko2018-06-261-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: fix dup_CLOEXEC() call without "avoid_fd" parameterDenys Vlasenko2018-06-261-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fdisk: placate warning of strncpy not copying NUL byteDenys Vlasenko2018-06-261-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: fix for !ENABLE_HUSH_MODE_X configurationDenys Vlasenko2018-06-261-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hush: variable nesting code is used also if HUSH_FUNCTIONS is not enabledDenys Vlasenko2018-06-261-52/+52
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>