change zo-compiler cm trace-output to stick to a port, which avoids confusing output when installing nested Planet packages
svn: r15194
This commit is contained in:
parent
0c23c7f9d7
commit
fc115693f4
|
@ -149,7 +149,8 @@
|
|||
[current-load-relative-directory dir]
|
||||
;; Verbose compilation manager:
|
||||
[manager-trace-handler (if verbose?
|
||||
(lambda (s) (printf "~a\n" s))
|
||||
(let ([op (current-output-port)])
|
||||
(lambda (s) (fprintf op "~a\n" s)))
|
||||
(manager-trace-handler))]
|
||||
[manager-compile-notify-handler
|
||||
(lambda (path) ((compile-notify-handler) path))])
|
||||
|
|
|
@ -76,5 +76,12 @@
|
|||
setup:option@
|
||||
set-options@
|
||||
setup@)))))])
|
||||
(thread-wait thd)
|
||||
(custodian-shutdown-all cust))))))
|
||||
(dynamic-wind
|
||||
void
|
||||
(lambda ()
|
||||
(with-handlers ([exn:break? (lambda (exn)
|
||||
(break-thread thd)
|
||||
(sleep 0.1)
|
||||
(raise exn))])
|
||||
(thread-wait thd)))
|
||||
(lambda () (custodian-shutdown-all cust))))))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user