From c0b8e81b023bf1f118311a060662bea1ad565a19 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 12 Oct 2014 15:01:35 -0700 Subject: Change how arrays and environment variables interact. Prior to this change, inherited environment variables would be split on colons, becoming an array. This change eliminates that behavior. Now environment variables are always split on the record separator character (ASCII 0x1e), with the exception of a short whitelist of PATH, MANPATH, CDPATH. Likewise, exported variables are also exported delimited by rs, with the exception of the above whitelist. Fixes #1374, also see #1656 --- tests/test3.out | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test3.out') diff --git a/tests/test3.out b/tests/test3.out index 5d3a48b2..d7dd2c43 100644 --- a/tests/test3.out +++ b/tests/test3.out @@ -30,3 +30,4 @@ SHLVL: 4 SHLVL: 4 Elements in DISPLAY: 1 Elements in FOO: 4 +MANPATH=man1:man2:man3 -- cgit v1.2.3