From: nobu.nokada@... Date: 2004-03-29T02:19:20+09:00 Subject: Re: File.stat.size errors with file sizes over 2Gigs. Hi, At Thu, 25 Mar 2004 22:44:20 +0900, Martin Weber wrote in [ruby-talk:95833]: > So what does windows itself use to offer access onto those large numbers ? > Seems the stat compat (ms-w wasn't posix last time I looked, so I'll boldly > assume it has no stat itself) needs to use another library call. After all > it's possible to write apps in C, compiled with msvc, running on windows, > which are able to properly report the filesize. Unfortunately, it is not all of large file support. Of course, Windows provides methods to access large files in *their way*, but not quite portable. I hope this patch works. http://nokada.jin.gr.jp/ruby/win32/largefile.diff -- Nobu Nakada