diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-10-05 23:00:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-10-05 23:00:12 -0700 |
commit | 35e1645eacd6baa334e9107cdc65913427401942 (patch) | |
tree | fcbf10481c6bcc0704e9221ec0b5825a9478ecee /stream.c | |
parent | 0da50195d575904acf55e363117ad98db242923b (diff) | |
download | txr-35e1645eacd6baa334e9107cdc65913427401942.tar.gz txr-35e1645eacd6baa334e9107cdc65913427401942.tar.bz2 txr-35e1645eacd6baa334e9107cdc65913427401942.zip |
cygwin: environment-related fixes.
* stream.c (run): replace_env takes only one argument.
* tests/018/process.tl: *child-env* tests are reporting some extra
environment variables on Windows; let's just disable them.
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4769,7 +4769,7 @@ static val run(val command, val args) if (ch_env != t) { save_env = env(); - replace_env(ch_env, nil); + replace_env(ch_env); } wargv = coerce(const wchar_t **, chk_xalloc(nargs + 1, sizeof *wargv, self)); @@ -4792,7 +4792,7 @@ static val run(val command, val args) uw_unwind { if (ch_env != t) - replace_env(save_env, nil); + replace_env(save_env); fds_restore(&sfds); } |