From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10108271520.AA13293@clio.rice.edu> Subject: Win2K/XP fixes - implementation review To: djgpp-workers AT delorie DOT com (DJGPP developers) Date: Mon, 27 Aug 2001 10:20:56 -0500 (CDT) In-Reply-To: X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com I've been thinking about all this Win2K bug workaround stuff. Some things that really bug me: 1) We've now got a large number of calls to the true dos version and comparisons to it. I'd like to clean these up with a global variable set in crt1. 2) Today, we don't separate NT 4.0 with the LFN TSR from W2K/XP, so NT 4 + LFN is forced to make a lot of extra calls which aren't required. We could probably detect this when opening NUL (for the FSEXT?) and set a flag to use instead of all the comparisons. If we did this, and if MS ever fixes W2K or XP in some service pack we would avoid the uneeded calls also. But it may not be worth it - this is maybe 2-3 extra interrupts for calls like _open - which are called infrequently enough to maybe not be measurable in performance. Comments? Thoughts?