delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/26/02:48:09

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Weird static/dynamic allocation crash...
Date: Tue, 22 Jul 1997 11:45:58 -0400
Organization: Cornell University
Lines: 14
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33D4D5B6.3653@cornell.edu>
References: <3 DOT 0 DOT 1 DOT 32 DOT 19970722035329 DOT 0069bfd4 AT postoffice DOT tidalwave DOT net>
NNTP-Posting-Host: 128
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Kenn White wrote:
> 
> Hello DJGPP gurus.
> 
> Here's a strange one for you.

no it is not strange. it is just plain dumb. you are allocating 4
megabytes from the stack. what is the point of that? what did you
expect?

if you insist on doing things like this, you can stubedit your program
to give it a larger stack size. it will still be pointless though.

  -- Sinan

- Raw text -


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