Denis Vlasenko | 270b1c3f68d | hush: set $n properly for "source" builtin
function old new delta
... | | |
Denis Vlasenko | 4ea187fd62c | hush: fix non-interactive response to pipe being stopped.
function old ... | | |
Denis Vlasenko | e4bd4f2cc84 | hush: unblock TERM, INT, HUP in child shells too. | | |
Denis Vlasenko | f8c1f02d2f7 | hush: disallow "{echo hi; }" (require whitespace)
and "{ echo hi }" (require semicolon or &)
function ... | | |
Denis Vlasenko | 5ff9629b8fe | mdev: add large comment, fix a buglet with subsystem and /sys/block | | |
Denis Vlasenko | 184f4ff4328 | disable FLASH_ERASEALL in defconfig | | |
Denis Vlasenko | 3161b611996 | mdev: set mode, needed when device node already exists. | | |
Denis Vlasenko | 6dda5dec238 | mdev: change subsystem syntax from /subsystem to subsystem/devname | | |
Denis Vlasenko | ea4f0847c3d | update example udhcpc script | | |
Denis Vlasenko | fa4ca7889e3 | hush: add a TODO | | |
Denis Vlasenko | bb929517a86 | hush: fix "if { echo foo; } then { echo bar; } fi" parsing
function old ... | | |
Denis Vlasenko | 74a931ac9ea | hush: stop ignoring ^Z in child shells | | |
Denis Vlasenko | c4ada793430 | hush: remove old disabled ^Z handling | | |
Denis Vlasenko | 41ddecd9ed2 | hush: fix heredoc_huge.tests broken in last commits | | |
Denis Vlasenko | c376db332cf | hush: remove TODO comment itself :) | | |
Denis Vlasenko | 27014ed5cb9 | hush: deal with a TODO: move argv_from_re_execing out of globals
function ... | | |
Denis Vlasenko | c3587223c7e | Start 1.15.x development | | |
Denis Vlasenko | bae3abf2c71 | website: another tweak | | |
Denis Vlasenko | 9367734bd61 | website: yet another small tweak | | |
Denis Vlasenko | 6c76a96f23e | website: another tiny tweak | | |
Denis Vlasenko | 4e4c5db66a6 | website: textual fixes in 1.14.0 announcement text | | |
Denis Vlasenko | 5dcb43a5d1e | website: announce 1.14.0 and 1.13.4
Makefile: bump version to 1.14.0 | | |
Denis Vlasenko | 8f0c89e05a7 | apply post-1.13.3 fixes, bump version to 1.13.4 | | |
Denis Vlasenko | 32a3d084d32 | mdev: safer handling of $SUBSYSTEM in mdev -s | | |
Denis Vlasenko | 7223424815b | pointless whitespace/comment fixes, no code changes | | |
Denis Vlasenko | 7f9593753a1 | randomconfig fixes | | |
Denis Vlasenko | b024f8da8fa | website: update ActionTec URL to http://opensource.actiontec.com/ | | |
Denis Vlasenko | 33c6b2a91a8 | website: fix obsolete
"svn co svn://busybox.net/branches/busybox_1_12_stable"
example | | |
Denis Vlasenko | 829bbd3b570 | *: unify concurrent-safe update of /etc/{passwd,group,[g]shadow}
by Tito (farmatito AT tiscali.it)
function ... | | |
Denis Vlasenko | f2b39e088d6 | mdev: add support for - "dont stop here" char
function old new del... | | |
Denis Vlasenko | 065c7147914 | mdev: provide $SUBSYSTEM (by Vladimir)
function old new delta
make... | | |
Denis Vlasenko | 0b791d9a976 | move llist_find_str from modutils to libbb | | |
Denis Vlasenko | 41445049129 | modutils: remove redundant sanitization | | |
Denis Vlasenko | 2b2183a77d7 | hush: make function support configurable | | |
Denis Vlasenko | 323cbbfaa25 | mdev: fix a bug where \t is not treated as delimiter after [>|=PATH] | | |
Denis Vlasenko | aafbae61812 | mdev: make usage text more useful
function old new delta
packed_us... | | |
Denis Vlasenko | e8a796828ee | dhcprelay: fix usage text. Simplify and make code more readable.
Add TODOs. | | |
Denis Vlasenko | 1f63229a8e5 | rmmod: fix bug 263
"modutils/rmmod can't remove modules with dash in name on 2.4 kernels"
function ... | | |
Denis Vlasenko | 1fb26da0717 | mdev: ignore events with "$SUBSYSTEM" == "firmware" && "$ACTION" == "remove"
function ... | | |
Denis Vlasenko | 1d925affa9f | website: add http://www.dream-multimedia-tv.de/ to list of products
using bbox | | |
Denis Vlasenko | bc569740627 | hush: pass functions to child shells on NOMMU
function old new del... | | |
Denis Vlasenko | ef1b439669f | dnsd: stop using oversized buffer. trim comment. | | |
Denis Vlasenko | e12c90217b8 | halt/reboot/powerdown: accept and ignore -i | | |
Denis Vlasenko | 51056b382a0 | modutils: small optimization
function old new delta
bb_init_module... | | |
Denis Vlasenko | f1df35c40bf | mdev: do not complain if /sys/block doesn't exist | | |
Denis Vlasenko | 67b5eeb9332 | awk: fix long field separators case. By Ian Wienand (ianw AT vmware.com) | | |
Denis Vlasenko | 32a385f5b0a | getty: fix handling of speed 0;
stop using non-portable way of setting speeds.
function ... | | |
Denis Vlasenko | 5c329930090 | mount: users report that CIFS support is breaking things,
mostly remove it. | | |
Denis Vlasenko | f8de411e242 | dnsd: removed highly questionable setting of signals to SIG_IGN | | |
Denis Vlasenko | ddbf3bf35ff | dnsd: fix a number of bugs. Ideas by Ming-Ching Tiew (mctiew AT yahoo.com)
function ... | | |
Denis Vlasenko | 135cecbbcee | ash: fix warning in debug build | | |
Denis Vlasenko | c43430f1b92 | hush: remove functions from TODOs | | |
Denis Vlasenko | 0701dca88c4 | hush: improve debugging output | | |
Denis Vlasenko | ed055214bba | hush: fix "while...do f1() {a;}; f1; f1 {b;}; f1; done" bug | | |
Denis Vlasenko | 75bccfa3755 | hush: tweak tests | | |
Denis Vlasenko | ce4acbbab66 | hush: add function tests | | |
Denis Vlasenko | 6ba6f546ac8 | hush: pass $n to functions
function old new delta
run_pipe ... | | |
Denis Vlasenko | c0ea3292978 | hush: fix a few thinkos in function support; make it work on NOMMU;
functions in child shells now even have $n passe... | | |
Denis Vlasenko | b7d8c0dbbd2 | hush: first stab at function support. argv passing is not coded yet.
Only very rudimentary testing was done.
With f... | | |
Denis Vlasenko | 835fcfd33d5 | hush: reinstate accidentally reverted comment fix | | |
Denis Vlasenko | 0b677d83371 | hush: fix some TODOs. TODO in export builting: +250 bytes.
simplify unexpected EOF handling.
function ... | | |
Denis Vlasenko | 1fd1ea4395e | hush: tighten up "for" variable name check.
Add TODOs.
Disable redir4.right part where we differ from bash.
It is ... | | |
Denis Vlasenko | 551bdfecb7c | hush: fix typo in comment | | |
Denis Vlasenko | ed7823738ce | fix segfault on syntax error code path | | |
Denis Vlasenko | c96865f4458 | hush: readability improvements.
fix some more obscure bugs.
a new redir4.tests is known to fail. | | |
Mike Frysinger | e05f9286a94 | add test cases for parameter substitution with unset/null strings | | |
Mike Frysinger | 57e746781c6 | dont crash if the variable we do substitution on is not set | | |
Denis Vlasenko | d68ae08cde9 | hush: shrink and make more versatile error-reporting machinery
function ... | | |
Denis Vlasenko | 05d3b7cc0de | hush: deal with some easier TODOs
function old new delta
is_well_f... | | |
Denis Vlasenko | 1943aec2ec3 | hush: plug the leak of expanded heredoc | | |
Denis Vlasenko | efea9d28191 | hush: fix EXIT trap recursion case; check redirection failures
function ... | | |
Denis Vlasenko | f81e8dbc741 | *: make "pragma GCC visibility push(hidden)" less ugly | | |
Mike Frysinger | 327fd47f362 | skip some tests when fancy echo support is turned off | | |
Mike Frysinger | c3d91952d66 | we arent testing `echo -n` here so use printf instead | | |
Mike Frysinger | 20300d0129e | source the .config so tests can signal they need to be skipped due to feature disable | | |
Mike Frysinger | fe013a74ff4 | patch by Stuart Hughes <seh@zee2.com> and Guenter <lists@gknw.net> to make "0" a special baud rate for getty where it... | | |
Denis Vlasenko | f50caac53c0 | hush: typo in comment | | |
Denis Vlasenko | a2218dd862d | hush: fix thinko in re_execute_shell; pass even less junk to heredoc helper
function ... | | |
Denis Vlasenko | 5c090a96f98 | hush: more rodust detection of unterminated strings etc;
fix a case where we forget to copy `cmd` text;
optimize no... | | |
Denis Vlasenko | ffe6f808517 | expand leak_all1.tests | | |
Denis Vlasenko | 14725f82b61 | slight tweak to the leak detector | | |
Denis Vlasenko | cc90f444021 | hush: plug leak in run_pipe(). NOMMU only. | | |
Denis Vlasenko | 08daf564ae4 | hush: add a leak test which currently fails | | |
Denis Vlasenko | c73b70c7013 | hush: add leak detector helper; fix/add tests for it
function old ne... | | |
Denis Vlasenko | 3dfb035d8df | hush: echo \2>file fix | | |
Denis Vlasenko | df6f95cedf4 | FEATURE_FANCY_ECHO needs to be accessible for hush | | |
Denis Vlasenko | 02d6f1ad722 | hush: fix heredoc expansion of $var and `cmd`
function old new del... | | |
Denis Vlasenko | 25af86f73d2 | hush: fix wrong comment | | |
Denis Vlasenko | af07b7c5b67 | hush: fix heredoc <<- handling.
hush-misc/heredoc2.tests testcase needs only one fix now -
$var and `cmd` expancsio... | | |
Denis Vlasenko | 50f3aa45478 | hush: NOMMU-safe support of big heredocs
function old new delta
se... | | |
Mike Frysinger | d4a24f2aae0 | here documents have been added, so drop from TODO | | |
Mike Frysinger | 932e111418b | use sleep rather than usleep | | |
Mike Frysinger | b509c9c6708 | add a pathological test case for here doc related to eof marker and other ugly corner cases | | |
Mike Frysinger | a4f331d3c3e | implement support for parameter substitution via #/% operators | | |
Denis Vlasenko | 6c9be7f4518 | hush: heredoc support, based on patch by Mike Frysinger (vapier AT gentoo.org)
some TODOs are to be attacked later
... | | |
Denis Vlasenko | ab2b0643424 | hush: s/last_return_code/last_exitcode/g | | |
Denis Vlasenko | 0e15138c03d | hush: fix "if false; then...fi" exitcode;
trim "keyword"-less hush by 10 bytes | | |
Denis Vlasenko | 4ed67dd3d5a | make hush-misc/*.tests executable | | |
Denis Vlasenko | cd418a26700 | hush: fix a bunch of obscure while/until/continue bugs
function old ... | | |
Denis Vlasenko | 8f8d013afc3 | *.tests should be executable | | |
Denis Vlasenko | 715f712d15f | move hush-parsing/and-or.tests to hush-misc/*
(which probably needs to be renamed to hush-execution...) | | |
Mike Frysinger | 3a64833eb9d | add some brute force logic tests | | |
Denis Vlasenko | a2b11e33950 | hush: fix "false && echo yes || echo no" bug 265
function old new ... | | |
Denis Vlasenko | 0969a49c081 | hush: beautify re_execute_shell more | | |
Denis Vlasenko | 34e573d2cee | hush: drop allocations in re_execute_shell
function old new delta
... | | |
Mike Frysinger | 3c7167b5089 | add tests for basic fd open/close/dupe | | |
Mike Frysinger | dc4178050a9 | fix #>&- syntax for closing fds | | |
Mike Frysinger | 9052600feb1 | fix redir1 tests -- usleep isnt standard in $PATH | | |
Denis Vlasenko | 5e883fb00d5 | hush: micro-optimization. -37 bytes | | |
Denis Vlasenko | b1d11bf45ec | hush: more efficient filtering of "safe" arithmetic
function old new... | | |
Denis Vlasenko | d0b4a8c285c | hush: add <> and () as "safe" arith chars | | |
Denis Vlasenko | bfbc971f9f9 | hush: print cd error to stderr; use fopen_or_warn in builtin_source;
prepare builtin_unset for function support
libb... | | |
Denis Vlasenko | b0a6478eefe | hush: fix "export a=a b=b" (was not setting and exporting b)
function ol... | | |
Denis Vlasenko | c8d27334a09 | hush: update TODO list; + my usual pointless tweaks :( | | |
Denis Vlasenko | d3f973eab29 | hush: mark SIGHUP TODOs better; don't disable SIGHUP for now,
small tweaks to comments | | |
Denis Vlasenko | a0e65120b5f | hush: cosmetics, no code changes | | |
Denis Vlasenko | f4393046ef6 | modprobe/insmod for 2.4: support compressed modules.
by Guenter (lists AT gknw.net)
function ... | | |
Denis Vlasenko | 913a201bf09 | hush: strip NULs from file input, they are PITA/impossible to handle correctly
function ... | | |
Mike Frysinger | 258275d85f8 | drop HUSH_VER_STR since it has no relevance anymore -- just use BB_VER | | |
Denis Vlasenko | c4a7af55e9c | hush: fix trap clearing in subshells on MMU; simplify NOMMU a bit:
function ... | | |
Denis Vlasenko | f9375285719 | hush: audit and fix "interactive shell" setup code.
function old new... | | |
Denis Vlasenko | 46f9b6db80e | hush: pass $! thru re-execution; try harder on re-exec; give error
msg if re-exec didn't work; other tweaks in main(... | | |
Denis Vlasenko | 232be3e79b9 | hush: suppress bogus warning from 4.2.1 | | |
Denis Vlasenko | 18f2a79f9b0 | build system tweaks to account for latest hush changes | | |
Denis Vlasenko | d85a5df1598 | hush: randomconfig fixes | | |
Denis Vlasenko | cc4c693ec5c | hush: plug the leak on NOMMU re-execute path
function old new delt... | | |
Denis Vlasenko | c3ff48b9217 | fixing mode on hush-leak/leak_argv1.tests | | |
Denis Vlasenko | 8a496d5db04 | fixing mode on hush-leak/leak_argv1.tests | | |
Denis Vlasenko | 30db43b5c56 | hush: fix passing of $n on NOMMU | | |
Denis Vlasenko | 16a0c74f638 | hush: fix hush-misc/break5.tests NOMMU failure
function old new de... | | |
Denis Vlasenko | 0bb4a23506c | hush: fix all testsuite failures on NOMMU except memory leak.
known TODOs: we do not pass traps and positional args ... | | |
Denis Vlasenko | 609f2ab4345 | hush: enable NOMMU re-execution logic. Some testsuite entries
fail on NOMMU. Before it was much worse.
No regressio... | | |
Denis Vlasenko | 9aa7d6fdc55 | hush: preparatory patch for NOMMU-safe { list } handling.
function old ... | | |
Denis Vlasenko | 42e78b978fc | ftpd: s/CONFIG_BUSYBOX_EXEC_PATH/bb_busybox_exec_path/ | | |
Denis Vlasenko | 34d4d89b2d3 | hush: fix NOMMU hangs in pseudo_exec_argv. Add forgotted setting
of signal mask. Reuse same help string in all shell... | | |
Denis Vlasenko | 552433bc5af | hush: fix "var=val >file" not creating file
function old new delta... | | |
Denis Vlasenko | a24c8caeb29 | hush: remove code which errors out on $- and $_, it's useless;
wrap some longish lines
function ... | | |
Denis Vlasenko | 7c9861214b2 | hush: remove CHAR_xxx constants | | |
Denis Vlasenko | 6da69cddc02 | hush: get rid of charmap[]
function old new delta
parse_stream ... | | |
Mike Frysinger | dfa9de71769 | simplify maybe_die() slightly | | |
Denis Vlasenko | db2a9b683a4 | hush: finally make `cmd` safe on NOMMU
function old new delta
gene... | | |
Denis Vlasenko | e0755e58ca0 | hush: yet another randomconfig fix | | |
Denis Vlasenko | cc8289dc049 | shell/math: randomconfig fix | | |
Denis Vlasenko | 60b392fd5bd | hush: randomconfig fixes | | |
Denis Vlasenko | b6e6556b31e | hush: improve parse_stream: does not require parsing context struct;
cleans up on syntax errors (we used to leak mem... | | |
Denis Vlasenko | 240c255d8b3 | hush: simplify parse_stream
function old new delta
parse_and_run_s... | | |
Denis Vlasenko | 3718168b87a | hush: fix bug with local environment vars in pipes; simplify parse_stream()
function ... | | |
Denis Vlasenko | f9f74293465 | hush: explain parsing context structure
plug leak in setup_redirect on error path
function ... | | |
Denis Vlasenko | 027e3fddb58 | hush: straighten parse_stream() API a bit
function old new delta
p... | | |
Mike Frysinger | a36258f288e | trim trailing slashes from specified subdir so we output to the right place | | |
Denis Vlasenko | b7aaae90520 | hush: rename ->o_quote to ->o_escape
hush_test/hush-arith/*: new tests for arithmetic evaluation | | |
Mike Frysinger | 7a79afa3cab | Arithmetic Expansion is supported now in hush, so drop from TODO | | |
Denis Vlasenko | f328e00b107 | hush: do not inadvertently parse $((1 + "22")) as ok.
-20 bytes code size | | |
Denis Vlasenko | 2f1d394214c | hush: make
a=55; echo $(($a + 1)) $((1 + $((2)) + `echo $a`))
work as expected
function ... | | |
Denis Vlasenko | b29eb6ed255 | shells: do not need to have math state global
function old new del... | | |
Denis Vlasenko | 0dfe1d26a90 | fix ash-alias/alias.tests failure | | |
Mike Frysinger | 98c52645c02 | split math code out of ash and into a standalone library so we can use it in any shell (like hush!) | | |
Denis Vlasenko | 551ffdccea3 | more of pointless whitespace fixes | | |
Denis Vlasenko | bd79c3d3373 | dhcpd: remember and record hostnames; optimize get_option
dumpleases: show hostnames
function ... | | |
Denis Vlasenko | 3266aa9ec28 | trailing whitespace removal | | |
Denis Vlasenko | 88b8f0a3475 | sendmail: update by Vladimir
build system: tweak for rare case where include/autoconf.h
does not get updated
funct... | | |
Denis Vlasenko | d3081062453 | hust_test/*: use "$THIS_SH" instead of hush | | |
Denis Vlasenko | 9983d806d91 | volumeid: fix bug 249 "findfs finds the wrong partition" | | |
Denis Vlasenko | f6fbd627602 | ash: add/improve comments, no code changes | | |
Denis Vlasenko | 46aeab9a349 | ash: fix $IFS handling in read. closes bug 235 | | |
Denis Vlasenko | 7566bae1971 | hush: fix wait builtin
function old new delta
builtin_wait ... | | |
Denis Vlasenko | 70c6e40e478 | libbb: fix typo in comment | | |
Denis Vlasenko | 1b62ead3139 | hush: don't lie in comment | | |
Denis Vlasenko | 7b830e78f2f | hush: fix comments, no code changes | | |
Denis Vlasenko | 422cd7c81c2 | hush: make ^C work again, ^Z probably isn't working
function old new... | | |
Denis Vlasenko | abedaac8423 | hush: do not reset sighaldlers after fork - instead, prevent them from doing any harm
if they will be called. saves ... | | |
Denis Vlasenko | d5762932fbc | hush: rework signal and trap handling. Some smaller bits are TODO,
expect minor breakage
function ... | | |
Mike Frysinger | d690f68554f | implement `unset` semantics as required by POSIX | | |
Mike Frysinger | 5f9f1506ad2 | fix DOC build output to be like kbuild standard | | |
Mike Frysinger | 0080ea7992c | update `trap` poisx link | | |
Mike Frysinger | 87824e0e50d | do not automatically display job information when the shell is not interactive | | |
Mike Frysinger | 681a4b7f067 | enable trap tests | | |
Mike Frysinger | 9f8128f4800 | first pass at `trap` support in hush | | |
Denis Vlasenko | 0d907eab6cd | modutils: dont pass NULL options to init_module() | | |
Denis Vlasenko | a83dbd41469 | build system: hdparm -d is not that dangerous, remove warning | | |
Denis Vlasenko | a6eb7f4ddf9 | sendmail: add more example in usage text | | |
Denis Vlasenko | e1de3af9892 | module loading for 2.4: use fd-based io instead of FILE based;
use xlseek and xread; simpler check for ELF signature... | | |
Mike Frysinger | fd303b11efb | add test cases for `trap` ... but disabled for now until trap support is committed | | |
Denis Vlasenko | 038fe447138 | sysctl: move code around to get rid of forward references.
(incidentally it helps gcc to make code smaller) | | |
Denis Vlasenko | 5a6617acb81 | sysctl: fix broken -p [file] - close bug 231 | | |
Mike Frysinger | b975febeea8 | mark msh as deprecated | | |
Mike Frysinger | 40b8dc410e1 | use bb_strtou() in umask/wait and check errno to see if there was a problem rather than using endp | | |
Mike Frysinger | 8ec1c9dc6ea | make sure we check job status whenever updating the prompt | | |
Next → |