This patch forces the IFS variable to always be set to its default
value, regardless of the environment.

Signed-off-by: Herbert Xu <herb...@gondor.apana.org.au>

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());
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to