nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bcf064
)
lib/standard: make IFStream a PollableIStream so it can be used as stdin
author
Jean Privat
<jean@pryen.org>
Wed, 1 Oct 2014 01:24:48 +0000
(21:24 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 1 Oct 2014 01:24:48 +0000
(21:24 -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
02edcaf
..
36878e5
100644
(file)
--- a/
lib/standard/file.nit
+++ b/
lib/standard/file.nit
@@
-48,6
+48,7
@@
end
class IFStream
super FStream
super BufferedIStream
+ super PollableIStream
# Misc
# Open the same file again.
@@
-149,7
+150,6
@@
end
class Stdin
super IFStream
- super PollableIStream
private init do
_file = new NativeFile.native_stdin