summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-03-24 18:02:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-03-24 18:02:26 -0700
commit41999e571135db014b641ebd242518980c2e0bff (patch)
tree87f6f5c35ae5799e9f5242a937d4dc84e9efd4af
parent90bb65d4b4162df4099c811e802e452cd42d1c72 (diff)
downloadtxr-41999e571135db014b641ebd242518980c2e0bff.tar.gz
txr-41999e571135db014b641ebd242518980c2e0bff.tar.bz2
txr-41999e571135db014b641ebd242518980c2e0bff.zip
open-process: fix regression.
TXR 228, which introduced open-subprocess, broke open-process. * stream.c (open_process): Pass args correctly as the fourth argument of open_subprocess, rather than the third.
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index 0e19ab73..915ed7e5 100644
--- a/stream.c
+++ b/stream.c
@@ -4285,7 +4285,7 @@ static val open_subprocess(val name, val mode_str, val args, val fun)
val open_process(val name, val mode_str, val args)
{
- return open_subprocess(name, mode_str, nil, args);
+ return open_subprocess(name, mode_str, args, nil);
}
#else