Fix botched ()/#F split in continuation parser.
authorTaylor R Campbell <campbell@mumble.net>
Fri, 10 Jul 2015 17:25:30 +0000 (17:25 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Fri, 10 Jul 2015 17:27:11 +0000 (17:27 +0000)
No more `The object (), passed as an argument to stream-car, is not a
pair.' when trying to debug SIGFPE!

src/runtime/conpar.scm

index 505264ab111361fe30a7461780bf61080d129fa8..ed600080c3c28c62f149bde6be73b5805641e5dc 100644 (file)
@@ -672,7 +672,7 @@ USA.
                    length
                    (length stream offset))))
             (ltail (stream-tail* stream length)))
-       (and ltail
+       (and (stream-pair? ltail)
             (return-address? (stream-car ltail))
             (verify (- paranoia-index 1)
                     ltail