Mail Archives: djgpp-workers/1996/12/06/17:41:42
> Please submit all patches in "diff -c3" format. I'd also prefer one
> bugfix per diff, rather than one diff for multiple fixes, in case one
> or more of the fixes doesn't work in my sources.
Sorry, here is separated diffs 1/3
---------- exception problem ----------
*** src/stub/go32-v2.c-orig Mon Aug 12 22:57:02 1996
--- src/stub/go32-v2.c Sat Nov 16 08:21:44 1996
***************
*** 373,379 ****
--- 373,395 ----
}
argv[0] = argv0;
+ #if 1
+ {
+ extern __dpmi_paddr __djgpp_old_kbd;
+ __dpmi_paddr except;
+
+ /* restore old handlers */
+ __dpmi_get_protected_mode_interrupt_vector(9, &except);
+ if (__djgpp_old_kbd.offset32 != except.offset32
+ || __djgpp_old_kbd.selector != except.selector)
+ __djgpp_exception_toggle ();
+ }
+ #endif
longjmp(start_state, 0);
+ #if 1
+ /* reset new handlers */
+ __djgpp_exception_toggle ();
+ #endif
return 0;
}
--------------------------------------------
Daisuke Aoyama
jack AT st DOT rim DOT or DOT jp
- Raw text -