delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/12/03:30:07

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Wed, 12 Dec 2001 10:26:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
cc: djgpp-workers AT delorie DOT com, acottrel AT ihug DOT com DOT au
Subject: Re: go32-v2 memory chompage [was: Re: v2.03 refresh ...]
In-Reply-To: <10112120307.AA24007@clio.rice.edu>
Message-ID: <Pine.SUN.3.91.1011212102549.10023F-100000@is>
MIME-Version: 1.0
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

On Tue, 11 Dec 2001, Charles Sandmann wrote:

> Triggered memories of differences.  Sure enough, I set the stubinfo size
> to a truncated value (0x44) when v2load'ing.  We could use this to
> decide, since the real stub has never used a stubinfo this short (at
> least not since pre-beta 2.00 development...  This requires no changes 
> to v2load or go32-v2, small change to dpmiexcp.
> 
> If testing is OK will commit for both v2_03_1 and CVS. 
> 
>   void __maybe_fix_w2k_ntvdm_bug(void)
>   {
>     if (_osmajor == 5 && _get_dos_version(1) == 0x532) /* Windows NT, 2000 or XP
>     {
> +    if(_stubinfo->size < STUBINFO_END) /* V2load'ed image, stubinfo PSP bad */

This change is okay, but please make the comment above explain why
this test means it's v2load'ed.  I was stumped by it when I saw it in
the mail notification of CVS commits, until I've read this message of
yours.

- Raw text -


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