delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/11/02:50:54

Date: Wed, 11 Oct 2000 08:48:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Wojciech Galazka <wojciech DOT galazka AT polkomtel DOT com DOT pl>
cc: djgpp AT delorie DOT com
Subject: Re: Support for files > 2 GB
In-Reply-To: <8rve0q$l7k$1@info.nask.pl>
Message-ID: <Pine.SUN.3.91.1001011084828.23081B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019