projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3328836
)
read-until stops if it finds EOF
author
David Vazquez
<davazp@gmail.com>
Fri, 4 Jan 2013 00:49:22 +0000
(
00:49
+0000)
committer
David Vazquez
<davazp@gmail.com>
Fri, 4 Jan 2013 00:49:22 +0000
(
00:49
+0000)
lispstrack.lisp
patch
|
blob
|
history
diff --git
a/lispstrack.lisp
b/lispstrack.lisp
index
1599261
..
f6aaee0
100644
(file)
--- a/
lispstrack.lisp
+++ b/
lispstrack.lisp
@@
-508,7
+508,7
@@
(let ((string "")
(ch))
(setq ch (%peek-char stream))
- (while (not (funcall func ch))
+ (while (and ch (not (funcall func ch)))
(setq string (concat string (string ch)))
(%read-char stream)
(setq ch (%peek-char stream)))