www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/16/10:58:19

Date: Sun, 16 Mar 1997 18:41:19 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Paul Derbyshire <ao950 AT FreeNet DOT Carleton DOT CA>
cc: djgpp AT delorie DOT com
Subject: Re: system() under '95
In-Reply-To: <5gglo8$6pv@freenet-news.carleton.ca>
Message-ID: <Pine.SUN.3.91.970316183653.12748A-100000@is>
MIME-Version: 1.0

On 16 Mar 1997, Paul Derbyshire wrote:

> Anyways, it sounds as if system() has a slow memory leak. It possibly
> allocates DOS memory and forgets to free it. Unfortunately, only DJ or
> Eli, or else some wizard with system() source can fix it.

The sources are freely available to everybody (in v2/djlsr201.zip), so 
you don't need to be a wizard to hunt such bugs down.

However, in this case, I think there's nothing to fix, since `system'
doesn't allocate any DOS memory.  And on MSDOS I have never seen any such
problems, although I have run Make on large distributions where it calls
`system' much more than 50 times.  It might be something specific to the
Windows 95 DPMI host (it is known to leak selectors, so might as well leak
DOS memory). 

- Raw text -


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