Mail Archives: djgpp/2000/10/11/02:50:54
On Tue, 10 Oct 2000, Wojciech Galazka wrote:
> >: Is there a way for DJGPP to support files larger than 2 GB?
> >
> >Yes. Get the latest CVS version from delorie.com. It's alpha code;
> >you've been warned.
> >
> I got it but I cannot find the relevant code. How is actually reading from
> such a biig file made? Is there any sort of interface to MSDOS calls ?
The large file support requires a few small modifications in the flags
passed to the DOS FileOpen call, and using a different function for
statfs. The code changes are thus minimal and hard to spot.
Note that this only works on FAT32 partitions, since DOS doesn't
support files > 2GB on FAT16.
- Raw text -