From: Luis Lavena Date: 2010-07-24T10:03:24+09:00 Subject: [ruby-core:31466] Re: IO.new do not inherit the mode specified in IO.sysopen? On Fri, Jul 23, 2010 at 8:40 PM, Nobuyoshi Nakada wrote: > Hi, > > At Sat, 24 Jul 2010 03:48:50 +0900, > Luis Lavena wrote in [ruby-core:31462]: >> Wanted to know if this is a limitation or a problem only in Windows, >> as IO.sysopen + IO.new works perfectly under Linux: > > It's a limitation on platforms that don't provide fcntl(). > Thank you Nobu, wanted to confirm this spec: http://github.com/rubyspec/rubyspec/blob/master/core/io/reopen_spec.rb#L99-104 Now I can adjust mspec own specs accordingly. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup�ry