Hi,

At Mon, 23 May 2011 02:38:25 +0900,
Luis Lavena wrote in [ruby-core:36391]:
> Thing is that current 1.9.2 with MinGW do not work as you mentioned:
> 
> <pre><code>C:\Users\Luis>ruby -ve "File.open('a.data', 'w') { |f| f.truncate(1 << 32) }"
> ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
> 
> C:\Users\Luis>dir a.data
>  Directory of C:\Users\Luis
> 
> 22/05/2011  01:36 p.m.                 0 a.data
> </code></pre>

Thanks.
Then it should be a bug in 1.9.2.  Mswin32 version works as expected at least.

-- 
Nobu Nakada