projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a34044
)
Do not assert that the integer returned by UNIX-ISATTY is a BIT
author
David Lichteblau
<david@lichteblau.com>
Thu, 25 Oct 2012 12:49:08 +0000
(14:49 +0200)
committer
David Lichteblau
<david@lichteblau.com>
Thu, 25 Oct 2012 13:18:04 +0000
(15:18 +0200)
src/code/fd-stream.lisp
patch
|
blob
|
history
diff --git
a/src/code/fd-stream.lisp
b/src/code/fd-stream.lisp
index
d6c9b4c
..
c25e34f
100644
(file)
--- a/
src/code/fd-stream.lisp
+++ b/
src/code/fd-stream.lisp
@@
-2026,8
+2026,8
@@
(: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