2000-11-06 Gary Houston <ghouston@arglist.com>
authorGary Houston <ghouston@arglist.com>
Tue, 7 Nov 2000 21:36:42 +0000 (21:36 +0000)
committerGary Houston <ghouston@arglist.com>
Tue, 7 Nov 2000 21:36:42 +0000 (21:36 +0000)
commit8ccc61e837208c2bca299b2d33d6c52b431343c3
treed069801be6031ebf9c2459c9d339e32a63330124
parentc2ca44933f8b2b43ec3efa541a6824537c45a560
2000-11-06  Gary Houston  <ghouston@arglist.com>

* popen.scm (open-process): bug fix: don't use
close-all-ports-except to close ports in the child process, since
it causes port buffers to be flushed.  they may be flushed again
in the parent, causing duplicate output.  use a more elaborate
method for setting up the child descriptors (thanks to David
Pirotte for the bug report).
standard file descriptors 0, 1, 2 in the child process
are now set up from current-input-port etc., where possible.
ice-9/ChangeLog
ice-9/popen.scm