hush: fixlet for NOMMU

update TODO_config_nommu
This commit is contained in:
Denis Vlasenko
2007-12-24 14:26:57 +00:00
parent f7be20e70c
commit 3b4921674e
2 changed files with 135 additions and 69 deletions

View File

@@ -1492,16 +1492,16 @@ static void pseudo_exec(struct child_prog *child)
{
// FIXME: buggy wrt NOMMU! Must not modify any global data
// until it does exec/_exit, but currently it does.
int rcode;
if (child->argv) {
pseudo_exec_argv(child->argv);
}
if (child->group) {
#if !BB_MMU
bb_error_msg_and_exit("nested lists are not supported on NOMMU");
bb_error_msg_and_die("nested lists are not supported on NOMMU");
#else
int rcode;
#if ENABLE_HUSH_INTERACTIVE
debug_printf_exec("pseudo_exec: setting interactive_fd=0\n");
interactive_fd = 0; /* crucial!!!! */