Re: FileTest.size > 2GB?


#1

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?

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

Regards,

Dan


#2

Nobu wrote:

mswin32 version doesn’t have large file support yet.

Daniel B. wrote:

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

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

Dave.