www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/26/01:34:53

Date: Mon, 26 May 1997 08:34:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Larry Ellis <lce AT mcs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Windows NT
In-Reply-To: <pz6YpG9s1K48075yn@mcs.com>
Message-ID: <Pine.SUN.3.91.970526083347.7940B-100000@is>
MIME-Version: 1.0

On Sun, 25 May 1997, Larry Ellis wrote:

> The original problem occured with a little directory compare utility I
> wrote. But it also occurs with the GNU DIFF utility.

Please post the crash traceback that is printed when Ctrl-Break causes
a SIGSEGV (not SIGINT, as it should) in GNU Diff.  How frequently does
this happen?  Does this happen in Diff when you run it from a command
line, or when it is run by another DJGPP program?

Also, try to compile your program with unixy sbrk algorithm (the FAQ
explains how in section 3.3) and see if that helps.

> I don't think it is a simple as being a bug in the NT DMPI host, though,
> because when I compile my program under Watcom C and use DOS4GW as
> distributed w/ Watcom, the problem does not occur.

Different compilers/libraries use DPMI in different ways and reveal
different NT bugs.  DOS4GW uses an entirely different approach: it's a
full-fledged DOS extender, not a simple DPMI client like DJGPP
programs are, which means it probably relies on the NT DPMI host much
less than DJGPP.

- Raw text -


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