From: chromatic <[email protected]>
Date: Tue, 23 Dec 2008 14:07:53 -0800
On Thursday 11 December 2008 06:14:36 Fran?ois PERRAD wrote:
> Since the merge of the branch ppd22io, the mode of the stdin stream has
> changed. Currently, it isn't possible to peek on stdin . . .
>
> The issue was detected with I/O library of Lua (see
> languages/lua/t/io.t#17).
We should support this; how about upgrading the IO PMC to buffered reads
when
we detect a peek? Here's a patch that makes the test pass for me. Any
objections, anyone else?
-- c
Are you sure this works? Have you checked that the resulting string is
correct? See Trac #52.
-- Bob Rogers
http://www.rgrjr.com/