Actions
Backport #4557
closedInvalid case behaviour when comparing a character read from a file
Status:
Closed
Assignee:
Description
=begin
Reading chars from a file causes the case statement to work incorrectly. The origin of the issue can be found here:
http://stackoverflow.com/questions/5550550/difference-between-and-case
Confirmed to be working on 1.8.6 and 1.9.2p136
=end
Files
Updated by marcandre (Marc-Andre Lafortune) over 13 years ago
=begin
Note that this is a windows-only bug.
=end
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Open to Assigned
- Assignee set to naruse (Yui NARUSE)
=begin
=end
Updated by naruse (Yui NARUSE) over 13 years ago
- Assignee changed from naruse (Yui NARUSE) to nobu (Nobuyoshi Nakada)
=begin
=end
Updated by nobu (Nobuyoshi Nakada) over 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32000.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- io.c (io_getc): should be 7bit if ascii. fixes #4557
Updated by nobu (Nobuyoshi Nakada) over 13 years ago
- Tracker changed from Bug to Backport
- Project changed from Ruby master to Backport192
- Status changed from Closed to Assigned
- Assignee changed from nobu (Nobuyoshi Nakada) to yugui (Yuki Sonoda)
Updated by yugui (Yuki Sonoda) over 13 years ago
- Status changed from Assigned to Closed
Actions
Like0
Like0Like0Like0Like0Like0Like0