aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-21 17:28:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-21 17:28:51 +0000
commit762d35c75fe7001847adf85b5cf8279d53f627d7 (patch)
tree31c7829d80dfc922db1f9170df29cac1aea7c8b6
parent52881e9f23d1b02f75f2c1f5e704edc283be5cdf (diff)
downloadbusybox-w32-762d35c75fe7001847adf85b5cf8279d53f627d7.tar.gz
busybox-w32-762d35c75fe7001847adf85b5cf8279d53f627d7.tar.bz2
busybox-w32-762d35c75fe7001847adf85b5cf8279d53f627d7.zip
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 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 */
507static int builtin_eval(struct child_prog *child) 511static int builtin_eval(struct child_prog *child)
508{ 512{