Fixed bug in really-fork/pipe+: let-optionals already takes care of

optional arguments, no need to CAR any further.
This commit is contained in:
mainzelm 2003-03-31 06:09:00 +00:00
parent f732ad9938
commit 551f0a3ee2
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@
(for-each (lambda (fd) (dup w fd)) from)
(close w))) ; Unrevealed ports win.
froms pipes)
(if (pair? maybe-thunk)
(call-terminally (car maybe-thunk)))))
(if maybe-thunk
(call-terminally maybe-thunk))))
proc))))
(define (tail-pipe a b)