Date: Sun, 16 Mar 1997 18:41:19 +0300 (IDT) From: Eli Zaretskii To: Paul Derbyshire cc: djgpp AT delorie DOT com Subject: Re: system() under '95 In-Reply-To: <5gglo8$6pv@freenet-news.carleton.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).