From: walter@... Date: 2004-03-25T07:38:34+09:00 Subject: Re: File.stat.size errors with file sizes over 2Gigs. > I'm not sure about windows, but on unix[1] the file size usually is an > off_t, which is a signed value[2], and traditionally was 32bit (i.e. > +/- 2Gig). > > Following, some unices (namely solaris comes to mind) offered 'large > file versions' of many of their calls, others (e.g. BSDs) just > switched to a signed 64 bit value for off_t. I think the latter is > called for in the windows compat layer (as I assume there is one, > implementing stat) to really solve your problem. > > [1] -- in stat(2)'s struct stat that is > [2] -- to seek(2) backwards > > Regards, > > -Martin > hmmm...I think your right. What is the correct way to report this? ruby-core? Or is this list ok? Walt ***************************************************** Walter Szewelanczyk IS Director M.W. Sewall & CO. email : walter@mwsewall.com 259 Front St. Phone : (207) 442-7994 x 128 Bath, ME 04530 Fax : (207) 443-6284 *****************************************************