diff options
Diffstat (limited to 'shell')
-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 046e098d9..b367a08b2 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -503,6 +503,10 @@ static const char *set_cwd(void) | |||
503 | return cwd; | 503 | return cwd; |
504 | } | 504 | } |
505 | 505 | ||
506 | // It seems ALL built-ins ever use *only* child->argv in child param. | ||
507 | // Passing argv directly may make 'child->argv += n' modifications | ||
508 | // unneeded on vfork codepaths. | ||
509 | |||
506 | /* built-in 'eval' handler */ | 510 | /* built-in 'eval' handler */ |
507 | static int builtin_eval(struct child_prog *child) | 511 | static int builtin_eval(struct child_prog *child) |
508 | { | 512 | { |