From: Mauricio Fernandez Date: 2006-12-03T20:14:41+09:00 Subject: Re: File.size() returning negative for large files ???? On Sun, Dec 03, 2006 at 07:58:19PM +0900, Greg Hauptmann wrote: > On 12/3/06, Eric Hodel wrote: > >On Dec 3, 2006, at 24:30 , Greg Hauptmann wrote: > >> On 12/3/06, Damjan Rems wrote: > >>> It is not yours, but Windows fault. > >> > >> Is there a work around for this guys? > > > >[-1001581].pack('l').unpack('L').first # => 4293965715 > > > excellent!! thanks Eric - who knows how long that would have taken me to > discover for myself :) Are all your files under 4GB? -- Mauricio Fernandez - http://eigenclass.org - singular Ruby