[Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.121,2.122
Mon, 10 Sep 2001 17:20:17 -0400
> Subtlety on Windows: if we change test_largefile.py to use a file
> > 4GB, it still fails. A debug session suggests this is because
> fseek(fp, 0, 2) refuses to seek to the end of the file when the file
> is > 4GB, because it uses the SetFilePointer() in 32-bit mode.
> (XXX This needs more testing. I can't actually test that it works for
> files >4GB on my Win98 machine, because the filesystem here won't let
> me create files >=4GB at all.
I'll check that on my home Win98SE box too (later).
> Tim should test this on his Win2K machine.)
test_largefile passed on Win2K+NTFS after the change (but not before), after
boosting size to 7500000000L (7.5GB).