projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.20.9: fix DEFINE-STRUCTURE-SLOT-ADDRESSOR to work with raw slots as well
[sbcl.git]
/
contrib
/
sb-simple-streams
/
terminal.lisp
diff --git
a/contrib/sb-simple-streams/terminal.lisp
b/contrib/sb-simple-streams/terminal.lisp
index
fc16adc
..
07feaa9
100644
(file)
--- a/
contrib/sb-simple-streams/terminal.lisp
+++ b/
contrib/sb-simple-streams/terminal.lisp
@@
-53,9
+53,9
@@
(defmethod device-clear-input ((stream terminal-simple-stream) buffer-only)
(unless buffer-only
(defmethod device-clear-input ((stream terminal-simple-stream) buffer-only)
(unless buffer-only
- (let ((buffer (allocate-buffer sb-impl::bytes-per-buffer)))
+ (let ((buffer (allocate-buffer sb-impl::+bytes-per-buffer+)))
(unwind-protect
(loop until (<= (read-octets stream buffer
(unwind-protect
(loop until (<= (read-octets stream buffer
- 0 sb-impl::bytes-per-buffer nil)
+ 0 sb-impl::+bytes-per-buffer+ nil)
0))
(free-buffer buffer)))))
0))
(free-buffer buffer)))))