diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-05-18 13:41:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-05-18 13:41:46 -0700 |
commit | 4f010c138cfc1d58758a4550dcec513e3600dec2 (patch) | |
tree | 4ab2760cce050c344eff9b586dfc164be6c47bc5 /ChangeLog | |
parent | 1ef801e92a5b074a55232c18329986bdb0c4c11b (diff) | |
download | txr-4f010c138cfc1d58758a4550dcec513e3600dec2.tar.gz txr-4f010c138cfc1d58758a4550dcec513e3600dec2.tar.bz2 txr-4f010c138cfc1d58758a4550dcec513e3600dec2.zip |
Implement open_pipev in terms of popen for Windows which
does not have for or exec. We could use CreateProcess and CreatePipe,
et cetera, but it won't buy us anything because the whole point
of this function is to improve the argument passing, and CreateProcess
takes a single command line string, not too different from popen.
* stream.c (pipev_close, make_pipev_stream): Surrounded with
HAVE_FORK_STUFF ifdef.
(pipe_close): Choice of close strategy conditional on HAVE_FORK_STUFF.
(open_pipev): Conditionally defined in two ways now.
(win_escape_arg, win_make_cmdline): New static functions.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,5 +1,19 @@ 2012-05-18 Kaz Kylheku <kaz@kylheku.com> + Implement open_pipev in terms of popen for Windows which + does not have for or exec. We could use CreateProcess and CreatePipe, + et cetera, but it won't buy us anything because the whole point + of this function is to improve the argument passing, and CreateProcess + takes a single command line string, not too different from popen. + + * stream.c (pipev_close, make_pipev_stream): Surrounded with + HAVE_FORK_STUFF ifdef. + (pipe_close): Choice of close strategy conditional on HAVE_FORK_STUFF. + (open_pipev): Conditionally defined in two ways now. + (win_escape_arg, win_make_cmdline): New static functions. + +2012-05-18 Kaz Kylheku <kaz@kylheku.com> + * configure: New test added for fork, pipe, exec and waitpid. Produces HAVE_FORK_STUFF in config.h. |