Message-Id: <199612062231.HAA10738@mail.st.rim.or.jp> From: "Daisuke Aoyama" To: "DJ Delorie" Cc: "DJGPP WORKERS" Subject: RE: my fixes for libc (after bsh1147b.zip) Date: Sat, 7 Dec 1996 07:01:51 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit > 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