Message ID | 20180507174805.w5om7ypz5klfl7vw@gondor.apana.org.au (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Herbert Xu |
Headers | show |
diff --git a/src/var.c b/src/var.c index cc6f7f2..8fb880b 100644 --- a/src/var.c +++ b/src/var.c @@ -143,6 +143,7 @@ INIT { } } + setvareq(defifsvar, VTEXTFIXED); setvareq(defoptindvar, VTEXTFIXED); fmtstr(ppid + 5, sizeof(ppid) - 5, "%ld", (long) getppid());
This patch forces the IFS variable to always be set to its default value, regardless of the environment. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>