X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=io.lisp;h=8f38e0e6ca5fac9c9c016528d90b4a41990a5b72;hb=f7b10efb816059b2dc9a6b63da2756b0364e50d1;hp=4f896ed7584219f32fd425f0fcab74b7cdf5a41b;hpb=ea921dd2ce51a46bb3ca92a07df095d5ace99dcf;p=kmrcl.git diff --git a/io.lisp b/io.lisp index 4f896ed..8f38e0e 100644 --- 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" - (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"