synchronous-process-wait: (copy-output) can be #f
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 17 Sep 2013 17:15:23 +0000 (10:15 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Tue, 17 Sep 2013 17:15:23 +0000 (10:15 -0700)
Fix intermittent error: wrong-type-argument #f to integer-zero?.

src/runtime/syncproc.scm

index 16d6b1904a8b0b846a35966934373097d21c5403..d0a7c1093609efa100e6278acd74c8564f5e0d5d 100644 (file)
@@ -195,7 +195,7 @@ USA.
                    (begin
                      (if redisplay-hook (redisplay-hook))
                      (do ()
-                         ((= (copy-output) 0))
+                         ((= (or (copy-output) 0) 0))
                        (if redisplay-hook (redisplay-hook)))))))))))
   (subprocess-wait* process))
 \f