FileTest.size > 2GB?

Yes, use win32-file, available on the RAA.

Regards,

Dan

···

-----Original Message-----
From: Manuel Kasten [mailto:kasten.m@gmx.de]
Sent: Sunday, March 12, 2006 5:59 AM
To: ruby-talk ML
Subject: FileTest.size > 2GB ?

Hello,

I'm using "ruby 1.8.4 (2005-12-24) [i386-mswin32]" and I'm
having problems with FileTest.size and files > 2GB. Seems it
doesn't return a Bignum for them, but a (wrapped) Fixnum. For
a 3GB File, thats a "size" of -1GB. Is there something I can
do about it? Is there an alternative?

Nobu wrote:

mswin32 version doesn't have large file support yet.

Daniel Berger wrote:

Yes, use win32-file, available on the RAA.

Daniel, you are the hero of Ruby users on Windows.

Dave.