From: Jean Privat Date: Wed, 1 Oct 2014 01:24:48 +0000 (-0400) Subject: lib/standard: make IFStream a PollableIStream so it can be used as stdin X-Git-Tag: v0.6.10~49^2~3 X-Git-Url: http://nitlanguage.org lib/standard: make IFStream a PollableIStream so it can be used as stdin Signed-off-by: Jean Privat --- diff --git a/lib/standard/file.nit b/lib/standard/file.nit index 02edcaf..36878e5 100644 --- 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