aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-08-05 13:59:35 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-08-05 13:59:35 +0200
commit67dae152f4bf5456e4ea7950f4b55356aa37ec6c (patch)
tree82dba5cb178d1a1dd11ae80ad679d7b292c870f1 /shell/ash.c
parent9abf53beb48b40e98d50fd35f445d6474af3a494 (diff)
downloadbusybox-67dae152f4bf5456e4ea7950f4b55356aa37ec6c.tar.gz
ash: var: Set IFS to fixed value at start time
Upstream commit: Date: Sat, 19 May 2018 02:39:43 +0800 var: Set IFS to fixed value at start time This patch forces the IFS variable to always be set to its default value, regardless of the environment. It also removes the long unused IFS_BROKEN code. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 6cda7251e..6ef0a7ac2 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13960,6 +13960,7 @@ init(void)
}
}
+ setvareq((char*)defifsvar, VTEXTFIXED);
setvareq((char*)defoptindvar, VTEXTFIXED);
setvar0("PPID", utoa(getppid()));