www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/21/06:38:14

Date: Sun, 21 Sep 1997 13:35:13 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Nate Eldredge <eldredge AT ap DOT net>
cc: djgpp AT delorie DOT com, dj AT delorie DOT com
Subject: Re: Bug fix: very large response files
In-Reply-To: <199709210047.RAA22706@adit.ap.net>
Message-ID: <Pine.SUN.3.91.970921133441.9556W-100000@is>
MIME-Version: 1.0

On Sat, 20 Sep 1997, Nate Eldredge wrote:

> I found a bug in DJGPP's handling of very large response files
> (src/libc/crt0/c1args.c). The space for the contents of the response file
> was allocated with `alloca', and so any response file larger than the stack
> (usually 256K) would cause a stack fault. I have changed it to use `malloc'
> instead. A patch is included below.

Thanks.  This is a known bug.  I think v2.02 will have it fixed some
way (although not necessarily with the patch you propose).

- Raw text -


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