From: Yusuke ENDOH Date: 2010-02-25T00:07:43+09:00 Subject: [ruby-core:28328] Re: [Bug:trunk] add explicit constraints for WONTFIX IO bug Hi, 2010/2/24 Tanaka Akira : >> These behaviors are caused by bug of core's wrong buffering handing. > > I think it is difficult to fix. > *snip* > > I think we should live with this behavior because > buffering is important for performance. OK, I agree. Then, what should user care to avoid bizarre behavior? IOW, what behavior can be guaranteed? How about: User must not read/write at the time multiple IOs that share the same file descriptor or duplicated file descriptor. Anyway, I think we agreed these bizarre behaviors are WONTFIX. IO#reopen's spec in rubyspec fails because of this. I'll soon quarantine! the spec. -- Yusuke ENDOH