delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/10/09:44:13

Date: Wed, 10 May 2000 08:20:24 -0400 (EDT)
Message-Id: <200005101220.IAA11797@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
CC: djgpp AT delorie DOT com
In-reply-to: <gv0hhss170qttgqaeb0k45qg1e8oe52qrk@4ax.com> (message from Jason
Green on Tue, 09 May 2000 22:38:32 +0100)
Subject: Re: Signal & setitimer
References: <o9gbhskd6sm2n0cgidgnnu3q6hvc070qsq AT 4ax DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1000508111412 DOT 1993I-100000 AT is> <gv0hhss170qttgqaeb0k45qg1e8oe52qrk AT 4ax DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
> Newsgroups: comp.os.msdos.djgpp
> Date: Tue, 09 May 2000 22:38:32 +0100
> 
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> 
> > On Sun, 7 May 2000, Jason Green wrote:
> > 
> > > I'm not sure exactly what the expected behaviour of this program
> > > *should* be (can someone clarify this) but the actual behaviour is
> > > definitely not consistent.
> > 
> > What you report *is* reproducible.  The small patch I posted should
> > fix it; please try that.
> 
> I patched itimer.c and it fixes the problem when run normally in a DOS
> box.  It is too difficult to tell if general protection exception
> problem still exists because this was rare anyway.
> 
> The other reported results of the test program remain - immediate exit
> when run with redir, and unusual behaviour when run from UltraEdit.

I cannot reproduce the problem with `redir', neither on plain DOS nor
on Windows 98.  Perhaps `redir' picks up a different program: `test'
is not a good name for a program, as there are standard programs and
commands by that name (e.g., in Bash or in Sh-utils).  What happens if
you rename test.exe to some less-common name?

Also, what version of `redir' did you use?  Was it from DJGPP v2.03?

As for UltraEdit, I don't use it, so I cannot look into that.  But
since UltraEdit is a Windows program, and thus runs subsidiary DJGPP
programs in another VM, I'm not surprised: Windows does not deliver
timer interrupts to a DOS box that's in background, so perhaps when
the program runs under UltraEdit, it misses some of the timer ticks
when UltraEdit gets control?

- Raw text -


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