Fix bug: guarantee-X doesn't return a useful value when compiled with 9.2.
authorChris Hanson <org/chris-hanson/cph>
Fri, 13 Jan 2017 00:30:36 +0000 (16:30 -0800)
committerChris Hanson <org/chris-hanson/cph>
Fri, 13 Jan 2017 00:30:36 +0000 (16:30 -0800)
src/runtime/world-report.scm

index 4fdba62a8ab338503fbd1c566eeaa51c8123cb59..30729f24d6f95ccce57e20ab9497efafbc6c33d9 100644 (file)
@@ -33,7 +33,7 @@ USA.
   (let ((port
         (if (default-object? port)
             (current-output-port)
-            (guarantee-output-port port 'WORLD-REPORT)))
+            (guarantee textual-output-port? port 'WORLD-REPORT)))
        (flags (cons (cons (console-thread) "console")
                     (if (default-object? thread-flags)
                         '()