Do not assert that the integer returned by UNIX-ISATTY is a BIT
authorDavid Lichteblau <david@lichteblau.com>
Thu, 25 Oct 2012 12:49:08 +0000 (14:49 +0200)
committerDavid Lichteblau <david@lichteblau.com>
Thu, 25 Oct 2012 13:18:04 +0000 (15:18 +0200)
src/code/fd-stream.lisp

index d6c9b4c..c25e34f 100644 (file)
     (:external-format
      (fd-stream-external-format fd-stream))
     (:interactive-p
-     (= 1 (the (member 0 1)
-            (sb!unix:unix-isatty (fd-stream-fd fd-stream)))))
+     (plusp (the (integer 0)
+              (sb!unix:unix-isatty (fd-stream-fd fd-stream)))))
     (:line-length
      80)
     (:charpos