diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c index 046e098..b367a08 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) { |