Actions
Backport #1916
closedFile.open crashes when flags File::RDONLY | File::APPEND are passed
Status:
Closed
Assignee:
Description
=begin
File.open("x.txt", File::RDONLY | File::APPEND) { |f|
p f.read(1)
}
a.rb:15: [BUG] rb_sys_fail(x.txt) - errno == 0
content of x.txt is
fooxxzzzqqqzqq
=end
Updated by usa (Usaku NAKAMURA) over 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r24496.
=end
Updated by shyouhei (Shyouhei Urabe) over 14 years ago
=begin
Applied in changeset r24824.
=end
Updated by shyouhei (Shyouhei Urabe) over 14 years ago
- Status changed from Closed to Assigned
- Assignee changed from usa (Usaku NAKAMURA) to wyhaines (Kirk Haines)
=begin
=end
Updated by wyhaines (Kirk Haines) over 14 years ago
- Status changed from Assigned to Closed
=begin
This issue was solved with changeset r26455.
Tomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0Like0Like0Like0Like0