delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/21/17:53:16

Date: Sun, 21 Sep 1997 17:51:43 -0400 (EDT)
Message-Id: <199709212151.RAA16096@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.970921141749.9783C-100000@is> (message from Eli
Zaretskii on Sun, 21 Sep 1997 14:18:57 +0300 (IDT))
Subject: Re: File-handle inheritance

> An alternative would be to have the stub close the 10 handles in the
> range [10..19] *before* it tries to open the .exe file.  This is
> actually similar to what COMMAND.COM does when it starts (it closes
> all handles above 2).

If we're going to do it in the stub, why not only close as many as we
need?  If we only need two or three, only close the last two or three,
preserving as many as we can for the applications.

- Raw text -


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