Bug #156
[PATCH] StringIO#sysread(0) raises a EOFError
| Status: | Closed | Start date: | 06/14/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| ruby -v: |
Description
$stdin.sysread(0) # => ""
StringIO.new("test").sysread # =>raises EOFError: end of file reached
History
Updated by yugui (Yuki Sonoda) almost 4 years ago
- Status changed from Open to Closed
fixed by r17162.