projects
/
kmrcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r11317: add wnlocal
[kmrcl.git]
/
io.lisp
diff --git
a/io.lisp
b/io.lisp
index 4f896ed7584219f32fd425f0fcab74b7cdf5a41b..8f38e0e6ca5fac9c9c016528d90b4a41990a5b72 100644
(file)
--- a/
io.lisp
+++ b/
io.lisp
@@
-39,9
+39,8
@@
(defun read-file-to-string (file)
"Opens a reads a file. Returns the contents as a single string"
(defun read-file-to-string (file)
"Opens a reads a file. Returns the contents as a single string"
- (with-output-to-string (out)
- (with-open-file (in file :direction :input)
- (read-stream-to-string in))))
+ (with-open-file (in file :direction :input)
+ (read-stream-to-string in)))
(defun read-file-to-usb8-array (file)
"Opens a reads a file. Returns the contents as single unsigned-byte array"
(defun read-file-to-usb8-array (file)
"Opens a reads a file. Returns the contents as single unsigned-byte array"