From: Martin Stromberg Message-Id: <200108171054.MAA24446@merope.lu.erisoft.se> Subject: Re: _open.c commit? (was Re: Selector Exhaustion) To: djgpp-workers AT delorie DOT com Date: Fri, 17 Aug 2001 12:54:12 +0200 (MET DST) Cc: Bart DOT Oldeman AT bristol DOT ac DOT uk (Bart Oldeman) In-Reply-To: <3B7D0F21.25494.2689A4@localhost> from "pavenis@lanet.lv" at Aug 17, 2001 12:33:37 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Note that I've CC-ed Bart Oldeman which knows dosemu well. Bart, this is a discussion about working around the selector leaks in WINDOZEs. The archives are available at and the list address is djgpp-workers AT delorie DOT com. Andris said: > > However, I'd like to see that patch changed so that plain DOS systems > > aren't affected at all. Why slow down systems which don't need that? > > We already have the _windows_major variable that can be used to easily > > test for whether we are on Windows, and _get_dos_version(1) can be > > used for NT/W2K/XP. > > Ok. But I would not like to rely only on Windows presence. One can > try to run DJGPP applications under DOSEMU under Linux and in this > case I have seen descriptors leak (as far as I remeber) at least with > some versions. We may also have bad DPMI providers for DOS which > leaks descriptors. > > So I would prefer to look whether we have good DPMI server. Yes. But I imagine that dosemu isn't one of the non-good. Or if it is, that the dosemu team wants to know about it. And if some versions do leak but later versions have been corrected, I think you're supposed to upgrade instead of punishing those that do use correct versions. Right, MartinS