diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-16 00:34:24 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-16 00:34:24 -0700 |
commit | be7b45c73099abee4dfd53502e9256f86342b6c4 (patch) | |
tree | 53e5fe4a97b6d8bc45356fe47604e600e1de08ad /ChangeLog | |
parent | aca7c64aa69a4e14a2dd57779cd206a5aa15f649 (diff) | |
download | txr-be7b45c73099abee4dfd53502e9256f86342b6c4.tar.gz txr-be7b45c73099abee4dfd53502e9256f86342b6c4.tar.bz2 txr-be7b45c73099abee4dfd53502e9256f86342b6c4.zip |
* stream.c (win_make_cmdline): I think I cracked the code of
passing escaped arguments to Microsoft's popen and system
functions. The first argument cannot be quoted, but the
subsequent ones can. It is the quoting of the first argument
that causes the whole thing to be quoted. So we just
avoid quoting the first argument. (If it has spaces, too bad;
don't do that).
(open_process): Fix neglected optional argument handling
in Windows version of this function.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,17 @@ 2014-03-16 Kaz Kylheku <kaz@kylheku.com> + * stream.c (win_make_cmdline): I think I cracked the code of + passing escaped arguments to Microsoft's popen and system + functions. The first argument cannot be quoted, but the + subsequent ones can. It is the quoting of the first argument + that causes the whole thing to be quoted. So we just + avoid quoting the first argument. (If it has spaces, too bad; + don't do that). + (open_process): Fix neglected optional argument handling + in Windows version of this function. + +2014-03-16 Kaz Kylheku <kaz@kylheku.com> + * configure: Detect _wspawn* functions. * stream.c (run): Implement using _wspawnvp on MinGW. |