delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/11/03:34:48

Date: Thu, 11 Sep 1997 10:33:23 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com, sandmann AT clio DOT rice DOT edu
Subject: Re: fread slowstart
In-Reply-To: <199709102321.TAA11482@delorie.com>
Message-ID: <Pine.SUN.3.91.970911103242.12402G-100000@is>
MIME-Version: 1.0

On Wed, 10 Sep 1997, DJ Delorie wrote:

> > Do we have any real reason for this?  It makes less DOS memory
> 
> Longer command lines + environment space.  I ran out.  Anyone want to
> volunteer to make spawn() grow the transfer buffer if needed?

The code to do that is already there in dosexec.c, it is just ifdef'ed
away.  I even tested it at some point when 2.01 was in beta (but more
testing would be nice, of course).

If longer command lines is the only reason for this, there's no need
to enlarge the default buffer, I think.  Many programs don't spawn
child programs at all, there's no need to punish them (when they
themselves are spawned by others).

- Raw text -


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