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?

Regards, Manuel

Hi,

At Sun, 12 Mar 2006 21:58:44 +0900,
Manuel K. wrote in [ruby-talk:183773]:

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?

mswin32 version doesn’t have large file support yet.