nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e527858
)
lib/file: fix IFStream::close
author
Jean Privat
<jean@pryen.org>
Wed, 8 Oct 2014 20:18:14 +0000
(16:18 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 8 Oct 2014 20:18:14 +0000
(16:18 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/file.nit
patch
|
blob
|
history
diff --git
a/lib/standard/file.nit
b/lib/standard/file.nit
index
58fb382
..
b8f5bab
100644
(file)
--- a/
lib/standard/file.nit
+++ b/
lib/standard/file.nit
@@
-65,6
+65,7
@@
class IFStream
redef fun close
do
var i = _file.io_close
+ _buffer.clear
end_reached = true
end