nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/file: Remove _buffer.add in stream.read_all
[nit.git]
/
lib
/
standard
/
file.nit
diff --git
a/lib/standard/file.nit
b/lib/standard/file.nit
index
e5fc85b
..
aba34e8
100644
(file)
--- a/
lib/standard/file.nit
+++ b/
lib/standard/file.nit
@@
-156,7
+156,7
@@
class FileReader
init open(path: String)
do
self.path = path
- prepare_buffer(10)
+ prepare_buffer(100)
_file = new NativeFile.io_open_read(path.to_cstring)
if _file.address_is_null then
last_error = new IOError("Cannot open `{path}`: {sys.errno.strerror}")