Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Merge branch 'fix-read-all' into 'master'
Browse files Browse the repository at this point in the history
Fix io/read-all!

See merge request urn/urn!111
  • Loading branch information
SquidDev committed Nov 18, 2018
2 parents 76022fc + e5f794a commit ff10497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/io/init.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(defun read-all-mode! (path binary) :hidden
(with ((handle err) (open path (.. "r" (if binary "b" ""))))
(if handle
(with (data (self handle :read "*all"))
(with (data (self handle :read "*a"))
(self handle :close)
data)
(values-list handle err))))
Expand Down

0 comments on commit ff10497

Please sign in to comment.