From: Denys Vlasenko Date: Sat, 7 Jul 2012 19:40:35 +0000 (+0200) Subject: ash: add a comment about VEXPORT X-Git-Tag: 1_21_0~112 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=566a313a7f531d7df28f8ae01d19a4b28134b2e3;p=oweals%2Fbusybox.git ash: add a comment about VEXPORT Signed-off-by: Denys Vlasenko --- diff --git a/shell/ash.c b/shell/ash.c index e23b2034d..b20c32b89 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 },