www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/10/21:08:09

Date: Wed, 10 Sep 1997 21:08:07 -0400 (EDT)
Message-Id: <199709110108.VAA24143@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.970909171824.7828A-100000@is> (message from Eli
Zaretskii on Tue, 9 Sep 1997 17:30:30 +0300 (IDT))
Subject: Re: Open handles in nested programs

> 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.

- Raw text -


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