Dolda2000 GitWeb
/
lisp-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b2df2
)
COMMON-NET: Don't actually hang on READ-CHAR-NO-HANG...
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 13 May 2010 14:13:58 +0000
(16:13 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 13 May 2010 14:13:58 +0000
(16:13 +0200)
common-net.lisp
patch
|
blob
|
blame
|
history
diff --git
a/common-net.lisp
b/common-net.lisp
index
fadf080
..
ffe7a2d
100644
(file)
--- a/
common-net.lisp
+++ b/
common-net.lisp
@@
-246,7
+246,7
@@
(declare (type stream-socket socket))
(unless (eq (stream-socket-mode socket) :character)
(error 'stream-mode-error :stream socket :socket socket :expected-mode :character))
- (case (fill-char-buffer socket 1)
+ (case (fill-char-buffer socket 1
t
)
((nil) (return-from gray-stream-read-char-no-hang :eof))
((:wait) (return-from gray-stream-read-char-no-hang nil)))
(with-slots (char-buffer char-read-pos) socket