aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test3.out
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-12 15:01:35 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-12 15:01:44 -0700
commitc0b8e81b023bf1f118311a060662bea1ad565a19 (patch)
treeb6ff9a2ea7490f7447ba0eaedf21d335c5f1909d /tests/test3.out
parentc3bacc78c7105e7675e605319c5b21f4f5533388 (diff)
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
Diffstat (limited to 'tests/test3.out')
-rw-r--r--tests/test3.out1
1 files changed, 1 insertions, 0 deletions
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