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
commitd6acfe6e20163657fcfa72ea9426c0b9199526fe (patch)
tree87f6f5c35ae5799e9f5242a937d4dc84e9efd4af
parent58a7e0821fb6120a3abee2214b039a10db5b2aa1 (diff)
downloadtxr-d6acfe6e20163657fcfa72ea9426c0b9199526fe.tar.gz
txr-d6acfe6e20163657fcfa72ea9426c0b9199526fe.tar.bz2
txr-d6acfe6e20163657fcfa72ea9426c0b9199526fe.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