aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 14:26:57 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 14:26:57 +0000
commit3b4921674ebc1ad4e3c8dc3f722365e885aac849 (patch)
tree156c4305718322a2f5a4e87f5bd8d3063228963e /shell
parentf7be20e70c27b0bed505710393a99d1b6f821ff1 (diff)
downloadbusybox-w32-3b4921674ebc1ad4e3c8dc3f722365e885aac849.tar.gz
busybox-w32-3b4921674ebc1ad4e3c8dc3f722365e885aac849.tar.bz2
busybox-w32-3b4921674ebc1ad4e3c8dc3f722365e885aac849.zip
hush: fixlet for NOMMU
update TODO_config_nommu
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 8e42a8f3f..cb2c3e98e 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1492,16 +1492,16 @@ static void pseudo_exec(struct child_prog *child)
1492{ 1492{
1493// FIXME: buggy wrt NOMMU! Must not modify any global data 1493// FIXME: buggy wrt NOMMU! Must not modify any global data
1494// until it does exec/_exit, but currently it does. 1494// until it does exec/_exit, but currently it does.
1495 int rcode;
1496
1497 if (child->argv) { 1495 if (child->argv) {
1498 pseudo_exec_argv(child->argv); 1496 pseudo_exec_argv(child->argv);
1499 } 1497 }
1500 1498
1501 if (child->group) { 1499 if (child->group) {
1502#if !BB_MMU 1500#if !BB_MMU
1503 bb_error_msg_and_exit("nested lists are not supported on NOMMU"); 1501 bb_error_msg_and_die("nested lists are not supported on NOMMU");
1504#else 1502#else
1503 int rcode;
1504
1505#if ENABLE_HUSH_INTERACTIVE 1505#if ENABLE_HUSH_INTERACTIVE
1506 debug_printf_exec("pseudo_exec: setting interactive_fd=0\n"); 1506 debug_printf_exec("pseudo_exec: setting interactive_fd=0\n");
1507 interactive_fd = 0; /* crucial!!!! */ 1507 interactive_fd = 0; /* crucial!!!! */