Date: Sat, 26 Aug 2000 08:25:22 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: vanukoff AT primenet DOT com Message-Id: <2110-Sat26Aug2000082521+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b CC: djgpp AT delorie DOT com In-reply-to: <8o6cms$iph$1@nnrp02.primenet.com> (vanukoff@primenet.com) Subject: Re: GPF when reading or writing files larger than a certain size References: <8o6cms$iph$1 AT nnrp02 DOT primenet DOT com> 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 Precedence: bulk > From: "Paul Vanukoff" > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 25 Aug 2000 11:08:22 -0700 > > I have two routines, one saves a binary buffer, the other loads. > > If I am in RHIDE, and run the program, I get a GPF if "length" is more than > 49151. > > If I am in DOS, and run the program, I get a GPF if "length" is more than > 16383; Please tell where exactly do you get a GPF, and please post the full SYMIFY'ed crash message, on both DOS and Windows. A complete short program which could be compiled and used to reproduce the problem would also be nice (for example, the code you posted doesn't show the declaration of the buffer).