64 bit file support & testing

John M McIntosh johnmci at smalltalkconsulting.com
Wed Jan 16 03:43:02 UTC 2002


Greetings, if you are implementing this 64bit support in your VM, or 
using it, you all should know that the test suite I posted back in 
Dec does in fact NOT test for files > 2GB.

The eager folks out there should modify the test that checks for large files

testFileCreateAndSeekLargeFiles

and adjust the limits to some irrational whole numbers greater than 
2GB bound by  what your OS allows.

Note although my FreeBSD box claims to have a file 4,398,046,511,108 
bytes in size, it lies (kinda), unlike the Mac OS which would 
actually want real bytes around for that file and my wife refuses to 
buy me a couple of terabytes of dasd right now.

Secondly I admit I did NOT cross check to confirm if you read/write 
to files > 4GB that in fact what Squeak is doing is actually true or 
if it is lying because of a coding error on my part. A bit of C code 
might be needed or usage of dd using iseek might be need to confirm 
things and it would be nice to get independent confirmation.

-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================



More information about the Squeak-dev mailing list