summaryrefslogtreecommitdiffstats
path: root/stdlib/pmac.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-06-21 08:06:30 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-06-21 08:06:30 -0700
commitc1ee5b68738304906f2071fcbed40cca9c6447c4 (patch)
tree1807f2c5ade05d7b9dbb49a133d35c5ed083b487 /stdlib/pmac.tl
parentf7942e319816ddff862017112aadc3f14fb73e81 (diff)
downloadtxr-c1ee5b68738304906f2071fcbed40cca9c6447c4.tar.gz
txr-c1ee5b68738304906f2071fcbed40cca9c6447c4.tar.bz2
txr-c1ee5b68738304906f2071fcbed40cca9c6447c4.zip
streams: remove old code for popen on MingGW.
This is vestigial code from a time when TXR supported being compiled with MinGW. Except in the case of the functions run and sh, which are implementable without fork on Cygwin using the spawn family of functions, there won't be any fallback; if HAVE_FORK_STUFF is zero or missing, then certain functions will be absent. * stream.c (struct stdio_handle): Do not define a pid member if we don't HAVE_FORK_STUFF. (se_pclose): Function removed; we won't be using any non-POSIX platforms popen/pclose. (pipe_close): Don't call the removed se_pclose. (make_pipe_stream): Function removed. (fds_subst, fds_swizzle): Don't define these if HAVE_FORK_STUFF is absent, and so is HAVE_WSPAWN and HAVE_SPAWN. They are now only needed by the version of the run function that uses spawn or wspawn. (open_command, open_process): Remove the versions of these function based on popen. (string_extend_count, win_escape_cmd, win_escape_arg, win_make_cmdline): Remove these functions used by the above open_process; we have no need for encoding arguments into a Windows command line string, since the Cygwin/Cygnal libraries do that for us in their spawn and exec functions. * stream.h (make_pipe_stream): Function removed. * utf8.[ch] (w_popen): Function removed.
Diffstat (limited to 'stdlib/pmac.tl')
0 files changed, 0 insertions, 0 deletions