Date: Sun, 23 Aug 1998 18:29:17 +0300 (IDT) From: Eli Zaretskii To: djgpp-workers AT delorie DOT com Subject: itimer problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk I was wading through past messages posted to c.o.m.d. the other day, and found one (posted by Regis BOSSUT 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?