summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-07-07 19:40:35 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2012-07-07 19:40:35 (GMT)
commit566a313a7f531d7df28f8ae01d19a4b28134b2e3 (patch)
treed9c57aa1d0c00ea9ce695257a412497b41a5579f
parentb5c7220e7b2b6611fe5beca494c67bfe51fcfafb (diff)
downloadbusybox-566a313a7f531d7df28f8ae01d19a4b28134b2e3.tar.gz
busybox-566a313a7f531d7df28f8ae01d19a4b28134b2e3.tar.bz2
ash: add a comment about VEXPORT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/ash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index e23b203..b20c32b 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -1900,6 +1900,10 @@ static const struct {
const char *var_text;
void (*var_func)(const char *) FAST_FUNC;
} varinit_data[] = {
+ /*
+ * Note: VEXPORT would not work correctly here for NOFORK applets:
+ * some environment strings may be constant.
+ */
{ VSTRFIXED|VTEXTFIXED , defifsvar , NULL },
#if ENABLE_ASH_MAIL
{ VSTRFIXED|VTEXTFIXED|VUNSET, "MAIL" , changemail },