Created
December 28, 2016 01:04
-
-
Save shirok/7e92d1a919c1935ae4a8a3f60fc69207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/gauche/process.scm b/lib/gauche/process.scm | |
index 069348e..683ab6e 100644 | |
--- a/lib/gauche/process.scm | |
+++ b/lib/gauche/process.scm | |
@@ -382,6 +382,7 @@ | |
[gauche.sys.threads | |
(receive (in out) (sys-pipe) | |
(push! iomap `(,fd . ,in)) | |
+ (push! toclose in) | |
(thread-start! (make-thread (cut write-arg out))))] | |
[else | |
;; If we can't use threads, we fall back to using temporary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment