summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-21 17:28:51 +0000
committerDenis Vlasenko2007-04-21 17:28:51 +0000
commit762d35c75fe7001847adf85b5cf8279d53f627d7 (patch)
tree31c7829d80dfc922db1f9170df29cac1aea7c8b6
parent52881e9f23d1b02f75f2c1f5e704edc283be5cdf (diff)
downloadbusybox-762d35c75fe7001847adf85b5cf8279d53f627d7.zip
busybox-762d35c75fe7001847adf85b5cf8279d53f627d7.tar.gz
hust: add a comment
-rw-r--r--shell/hush.c4
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)
{