summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-03-14 02:24:35 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-03-14 02:24:35 -0700
commit6150e4f135fdab479af31a93c2e8ae89d414c224 (patch)
tree28918f223420225a3655aa9b3b1b6fbd5f577018 /stream.c
parent62ec2d2ec9d427866c9dea6fc507ea1c7976fb0f (diff)
downloadtxr-6150e4f135fdab479af31a93c2e8ae89d414c224.tar.gz
txr-6150e4f135fdab479af31a93c2e8ae89d414c224.tar.bz2
txr-6150e4f135fdab479af31a93c2e8ae89d414c224.zip
* stream.c (run): Fix MinGW build failures. The run function doesn't
work right with arguments, though: the win command line is broken.
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index 1744c28c..14ec811b 100644
--- a/stream.c
+++ b/stream.c
@@ -2341,7 +2341,7 @@ static val run(val name, val args)
#else
static val run(val command, val args)
{
- val win_cmdline = win_make_cmdline(cons(name, args));
+ val win_cmdline = win_make_cmdline(cons(command, default_bool_arg(args)));
return sh(win_cmdline);
}
#endif