Bug #156 [ruby-core:17245]
[PATCH] StringIO#sysread(0) raises a EOFError
| Status : | Closed | Start : | 06/14/2008 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | - | % Done : | 0% |
|
| Category : | - | |||
| Target version : | - | |||
Description
$stdin.sysread(0) # => ""
StringIO.new("test").sysread # =>raises EOFError: end of file reached