projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9889781
)
Remove handle-subprocess-status-change from nonblocking/subprocess-
author
Matt Birkholz
<matt@birkholz.chandler.az.us>
Fri, 19 Oct 2012 19:11:57 +0000
(12:11 -0700)
committer
Matt Birkholz
<matt@birkholz.chandler.az.us>
Fri, 19 Oct 2012 19:11:57 +0000
(12:11 -0700)
wait. Block-on-process-status-change has just continued because
handle-subprocess-status-change was just called; don't call it again.
src/runtime/process.scm
patch
|
blob
|
history
diff --git
a/src/runtime/process.scm
b/src/runtime/process.scm
index 8d2b018dcad84cec8144f1faf6f14f73988f975a..384dc2d7329bc8d49b85861ff122fda293a3e687 100644
(file)
--- a/
src/runtime/process.scm
+++ b/
src/runtime/process.scm
@@
-209,9
+209,7
@@
USA.
(lambda ()
(let ((status (%subprocess-status process)))
(if (eqv? status 0)
- (begin
- (block-on-process-status-change)
- (handle-subprocess-status-change)))))))
+ (block-on-process-status-change))))))
(define hook/subprocess-wait normal/subprocess-wait)