From eca93d5b397d4c843f6d6691a295f6565fbf35e6 Mon Sep 17 00:00:00 2001 From: vda Date: Sat, 21 Apr 2007 17:28:51 +0000 Subject: hust: add a comment git-svn-id: svn://busybox.net/trunk/busybox@18509 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/hush.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell') 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) { -- cgit v1.2.3-55-g6feb