delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2019/08/19/22:19:22

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 2002:a5d:40cd:: with SMTP id b13mr31957178wrq.236.1566266556729;
Mon, 19 Aug 2019 19:02:36 -0700 (PDT)
From: Rod Pemberton <invalid AT lkntrgzxc DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [PATCH] exec: fix inversions in leak detection logic
Date: Mon, 19 Aug 2019 22:05:14 -0400
Organization: Aioe.org NNTP Server
Lines: 43
Message-ID: <qjfkbp$1o2c$1@gioia.aioe.org>
References: <964e3268-2f75-ee73-ab5a-b01bf1aadb98 AT yandex DOT ru>
<qjb14m$1kqj$1 AT gioia DOT aioe DOT org>
<7209026e-1f1b-e590-00a3-4ed1a424cc0d AT yandex DOT ru>
NNTP-Posting-Host: +15yR2JuBIwiofOqK4kSZw.user.gioia.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse AT aioe DOT org
X-Notice: Filtered by postfilter v. 0.9.2
Bytes: 2497
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> On Sun, 18 Aug 2019 16:54:39 +0300
"stsp (stsp2 AT yandex DOT ru) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
wrote:

> > I.e., another DPMI host is already loaded prior to performing the
> > spawn, e.g., CWSDPMI or Windows DPMI.
> >
> > You can test this like so for DOS:
> >
> > CWSDPMI -P
> > 32RTM -X
> >

The point of the above, which you seemed to have skipped, was to
demonstrate that the below claim simply doesn't work, at least, not
here for the version of MS-DOS that I use.

> > I.e., it's not _just_ an example of a "prot-mode TSR program".  
> 
> In presence of another DPMI server - it is.

32RTM -X can't be loaded "in the presence of another DPMI server" as a
"prot-mode TSR program" under CWSDPMI -P as it errors.  That result is
for MS-DOS 7.10 (Windows 98/SE).

Also, CWSDPMI - being coded with Borland C++ and TASM - doesn't use any
of the functions of DJGPP that you're modifying to fix the problem
with 32RTM.  So, I'm really doubtful that your claim that 32RTM works
with DJGPP's spawn is true, given that 32RTM won't even work with just
CWSDPMI alone without calling any DJGPP code.

What you're saying is the result is different for other DOSes.

Are you loading CWSDPMI permanently "CWSDPMI -P" prior to your tests?

BFN,


Rod Pemberton
-- 
Let me say it yet again.  Reducing gun violence doesn't reduce
violence.  Dead is dead, whether by gun, car, hammer, club, or knife.

- Raw text -


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