Date: Wed, 10 Sep 1997 21:08:07 -0400 (EDT) Message-Id: <199709110108.VAA24143@delorie.com> From: DJ Delorie To: eliz AT is DOT elta DOT co DOT il CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Eli Zaretskii on Tue, 9 Sep 1997 17:30:30 +0300 (IDT)) Subject: Re: Open handles in nested programs Precedence: bulk > Another alternative would be to let libc allocate handles without the > inherit bit, or to have it only set the inherit bit for the first 16 or > so handles. I doubt that any program relies on inheriting a large number > of handles from its parent, so this should not break anything, although > such a risk exists. I prefer this, as I'd like to leave open the option for resizing the stub after the program is loaded, either smaller when using a shared TB or larger when more env/arg space is needed. Resizing the file handle table too early would mess this up. Another option I'd agree with is expanding the file handle table if and only if the open call fails because of that.