Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | split up feature todo by posix/bash | Mike Frysinger | 2009-03-28 | 1 | -7/+9 |
| | |||||
* | unify `set` handling with command line processing, fixup `set` argv ↵ | Mike Frysinger | 2009-03-28 | 1 | -15/+42 |
| | | | | processing so it doesnt clobber argv when setting options, and barf on unhandled set options | ||||
* | handle the "-s" command line option that POSIX requires | Mike Frysinger | 2009-03-28 | 1 | -1/+6 |
| | |||||
* | rename "-f" (fake) option to "-n" to match POSIX | Mike Frysinger | 2009-03-28 | 1 | -2/+2 |
| | |||||
* | tweak format modifier in debug code to fixup gcc warning | Mike Frysinger | 2009-03-28 | 1 | -1/+1 |
| | |||||
* | convert some of the ENABLE_FEATURE_EDITING from CPP if to C if | Mike Frysinger | 2009-03-28 | 1 | -24/+18 |
| | |||||
* | stop lying about [[ test support | Mike Frysinger | 2009-03-28 | 1 | -1/+0 |
| | |||||
* | mkfs.vfat: fix a problem with over-estimating FAT size | Denis Vlasenko | 2009-03-28 | 1 | -6/+15 |
| | |||||
* | make lash deprecation more prominent | Mike Frysinger | 2009-03-28 | 1 | -1/+1 |
| | |||||
* | mkfs.vfat: mkdosfs compat with choosing clyster size | Denis Vlasenko | 2009-03-28 | 1 | -5/+5 |
| | |||||
* | mkfs.vfat: more of pointless tweaking | Denis Vlasenko | 2009-03-28 | 1 | -7/+6 |
| | |||||
* | mkfs.vfat: small tweak to comments | Denis Vlasenko | 2009-03-28 | 1 | -1/+3 |
| | |||||
* | mkdosfs (aka mkfs.vfat): new applet by Vladimir | Denis Vlasenko | 2009-03-28 | 6 | -0/+622 |
| | | | | | | | text data bss dec hex filename 821202 476 7616 829294 ca76e busybox_old 823577 476 7616 831669 cb0b5 busybox_unstripped | ||||
* | ls: warning fix | Denis Vlasenko | 2009-03-27 | 2 | -3/+4 |
| | | | | | rm: accept and ignore -v (verbose) | ||||
* | tail: fix tail +N syntax not working. Closes bug 221. | Denis Vlasenko | 2009-03-27 | 1 | -1/+1 |
| | |||||
* | enable most job functions on no-mmu systems | Mike Frysinger | 2009-03-26 | 1 | -5/+6 |
| | |||||
* | tftp: when we infer local name from remote (-r [/]path/path/file), | Denis Vlasenko | 2009-03-25 | 1 | -3/+8 |
| | | | | | strip path. This mimics wget and is generally more intuitive. | ||||
* | do not make startup banner depend on job support | Mike Frysinger | 2009-03-23 | 1 | -4/+5 |
| | |||||
* | libbb: revent previous version of "concurrent history updating" | Denis Vlasenko | 2009-03-23 | 2 | -60/+56 |
| | | | | | | | | | | | | | | | and replace it with one which does not "snoop" history written by others. (1) it is what bug 185 needs, and (2) it is less bloaty: function old new delta load_history - 252 +252 read_line_input 3155 3287 +132 next_token 914 918 +4 qrealloc 36 33 -3 getoptscmd 713 708 -5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/2 up/down: 388/-8) Total: 380 bytes | ||||
* | move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error | Mike Frysinger | 2009-03-22 | 1 | -3/+3 |
| | |||||
* | libbb: make history saving/loading concurrent-safe | Denis Vlasenko | 2009-03-22 | 2 | -35/+117 |
| | | | | | | | | | | | | | | | | | | | * all history writers always append (not overwrite) history files * they reload history if they detect that file length has changed since last write * they trim history file only when it grows 4 times longer than MAXLINES * they do this atomically by creating new file and renaming it to old Unfortunately, this comes at a price: function old new delta load_history - 346 +346 read_line_input 3155 3358 +203 new_line_input_t 17 31 +14 ...irrelevant small jitter... ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/5 up/down: 573/-13) Total: 560 bytes | ||||
* | timeout: fix parsing of -t NUM on MMU | Denis Vlasenko | 2009-03-22 | 1 | -1/+1 |
| | |||||
* | hush: rearrange functions to reduce amount of forward references. | Denis Vlasenko | 2009-03-22 | 1 | -944/+904 |
| | | | | | Minimal code changes. | ||||
* | hush: fix segv at repeated "set -- a b c" + "shift" | Denis Vlasenko | 2009-03-22 | 3 | -3/+129 |
| | |||||
* | hush: fix strcpy of potentially overlapping strings | Denis Vlasenko | 2009-03-21 | 1 | -2/+2 |
| | |||||
* | msh testsuite: fix false positive, tweak run stript | Denis Vlasenko | 2009-03-21 | 2 | -3/+3 |
| | |||||
* | ls: make readlink error to not disrupt output (try ls -l /proc/self/fd). | Denis Vlasenko | 2009-03-21 | 2 | -102/+102 |
| | | | | | | | | | | | libbb: make xmalloc_readlink_or_warn warning more specific. function old new delta xmalloc_readlink_or_warn 33 61 +28 showfiles 1495 1460 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 28/-35) Total: -7 bytes | ||||
* | cpio: more compat: -0 and -L options | Denis Vlasenko | 2009-03-20 | 1 | -82/+92 |
| | | | | | | function old new delta cpio_main 1417 1473 +56 | ||||
* | Compatibility fixes: | Denis Vlasenko | 2009-03-20 | 10 | -59/+137 |
| | | | | | | | | | grep: support -z find: support --mindepth together +45 bytes cpio: support -p (configurable, +230 bytes) libbb: tweaks for cpio | ||||
* | cd: "support" -v by ignoring it | Denis Vlasenko | 2009-03-20 | 1 | -1/+49 |
| | |||||
* | hush: tweak testsuite | Denis Vlasenko | 2009-03-20 | 2 | -1/+5 |
| | |||||
* | hush: fix bug 207 and "hush -c" parameter passing. | Denis Vlasenko | 2009-03-20 | 3 | -2/+16 |
| | | | | | | | Now hush -c 'printf "%s\n" "$@"' (prints "\n") and hush -c 'printf "%s\n" "$@"' qwe asd (prints "asd\n") both work correctly | ||||
* | ash: expand comment | Denis Vlasenko | 2009-03-20 | 1 | -1/+2 |
| | |||||
* | hush: fix set [--] params. Closes bug 199. | Denis Vlasenko | 2009-03-20 | 1 | -9/+61 |
| | | | | | | | | | | function old new delta builtin_set 55 194 +139 add_strings_to_strings - 130 +130 add_string_to_strings 110 26 -84 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 269/-84) Total: 185 bytes | ||||
* | ash: add missing comma in debug scaffolding | Denis Vlasenko | 2009-03-20 | 1 | -3/+3 |
| | |||||
* | ash: fix a case where we close wrong descriptor; add debug hack for that | Denis Vlasenko | 2009-03-20 | 1 | -3/+13 |
| | |||||
* | ash: DEBUG should be 0 :) | Denis Vlasenko | 2009-03-19 | 1 | -2/+2 |
| | |||||
* | ash: fix TRACE commands | Denis Vlasenko | 2009-03-19 | 2 | -9/+81 |
| | |||||
* | ash: make evaltree save/restore int suppression depth. | Denis Vlasenko | 2009-03-19 | 1 | -38/+78 |
| | | | | | | | | | Hopefully this fixes bug 189. Not confirmed by users yet. function old new delta evaltree 809 842 +33 evalvar 1374 1376 +2 | ||||
* | doc update | Denis Vlasenko | 2009-03-19 | 1 | -0/+22 |
| | |||||
* | ash: in dotrap(), do not clear gotsig[] for SIGINT if there is no handler | Denis Vlasenko | 2009-03-19 | 1 | -57/+69 |
| | | | | | | | | | | | | | | | | | | | for it, otherwise raise interrupt gets confused later. The rest are readability fixes. function old new delta evaltreenr 817 818 +1 evaltree 817 818 +1 evalstring 88 89 +1 cmdloop 420 419 -1 evalskip 4 1 -3 breakcmd 84 81 -3 ash_main 1382 1379 -3 evalloop 183 177 -6 evalfor 231 225 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/6 up/down: 3/-22) Total: -19 bytes | ||||
* | df: fix FEATURE_DF_FANCY=off, FEATURE_HUMAN_READABLE=on case. | Denis Vlasenko | 2009-03-19 | 1 | -7/+6 |
| | |||||
* | ash: tentatively fix bug 189. | Denis Vlasenko | 2009-03-19 | 1 | -14/+13 |
| | |||||
* | init: test for vt terminal with VT_OPENQRY, | Denis Vlasenko | 2009-03-19 | 1 | -27/+5 |
| | | | | | | | | | | assume that anything else is TERM=vt102, not TERM=linux. (Serial console test is less correct) Tentatively closes bug 195. function old new delta init_main 946 919 -27 | ||||
* | ash: fix "ash -c 'exec 1>&0'" complaining that fd 0 is busy | Denis Vlasenko | 2009-03-19 | 1 | -4/+10 |
| | |||||
* | ls: make color-related code more readable. Fix a case when | Denis Vlasenko | 2009-03-18 | 1 | -19/+43 |
| | | | | | | | | | | | | | it was working non-deterministically. function old new delta bold - 34 +34 showfiles 1508 1495 -13 fgcolor 50 34 -16 bgcolor 34 - -34 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/2 up/down: 34/-63) Total: -29 bytes | ||||
* | httpd: add comment explaining why SERVER_NAME etc is not set. | Denis Vlasenko | 2009-03-18 | 1 | -0/+2 |
| | |||||
* | ftpd: fix command fetching to not do it in 1-byte reads; | Denis Vlasenko | 2009-03-18 | 4 | -22/+81 |
| | | | | | | | | | | | | | | | fix command de-escaping. Tested to download files with embeeded \xff and LF. libbb: tweaks for the above function old new delta ftpd_main 2231 2321 +90 xmalloc_fgets_internal 190 222 +32 xmalloc_fgets_str_len - 27 +27 xmalloc_fgets_str 7 23 +16 xmalloc_fgetline_str 10 26 +16 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 181/0) Total: 181 bytes | ||||
* | ftpd: add some comments | Denis Vlasenko | 2009-03-18 | 1 | -1/+15 |
| | |||||
* | ftpd: trim messages (but make sure they still make sense) | Denis Vlasenko | 2009-03-18 | 1 | -8/+8 |
| | | | | | | | text data bss dec hex filename 4400 0 0 4400 1130 ftpd_old.o 4346 0 0 4346 10fa ftpd.o |