aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/hush.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 046e098d9..b367a08b2 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -503,6 +503,10 @@ static const char *set_cwd(void)
return cwd;
}
+// It seems ALL built-ins ever use *only* child->argv in child param.
+// Passing argv directly may make 'child->argv += n' modifications
+// unneeded on vfork codepaths.
+
/* built-in 'eval' handler */
static int builtin_eval(struct child_prog *child)
{