projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c7220
)
ash: add a comment about VEXPORT
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 7 Jul 2012 19:40:35 +0000
(21:40 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 7 Jul 2012 19:40:35 +0000
(21:40 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index e23b2034d373a7c07e3ddf7bb51918d479eb62fb..b20c32b89a0325f7e10f10e9cd5cfaec3179a882 100644
(file)
--- 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 },