Mail Archives: djgpp-workers/1998/08/23/11:31:41
I was wading through past messages posted to c.o.m.d. the other day, and
found one (posted by Regis BOSSUT <bossut AT isen DOT fr> on 13 Oct 1997). In
it, he tells that a program which calls setitimer, but doesn't reset it
before exiting, will then cause a Page Fault in RMCB message and a system
freeze. Apparently, nobody cares to revert the timer interrupt on exit.
As far as I could see, v2.02 still doesn't do anything about that. Did I
miss something?
If not, then it should be a simple matter to look at
__djgpp_timer_handler (sp?) and revert INT 8 when appropriate. I think
this should be done in __djgpp_exception_toggle, since it gets called
from _exit, so even aborted programs will do it.
Comments?
- Raw text -