ruby-changes:23862
From: nobu <ko1@a...>
Date: Mon, 4 Jun 2012 21:54:27 +0900 (JST)
Subject: [ruby-changes:23862] nobu:r35913 (trunk): no windows dialog
nobu 2012-06-04 21:54:00 +0900 (Mon, 04 Jun 2012) New Revision: 35913 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35913 Log: no windows dialog * win32/win32.c (rb_w32_sysinit): let the system not display the critical-error-handler message box and the Windows Error Reporting dialog. [ruby-core:45389] [Bug #6535] Modified files: trunk/ChangeLog trunk/win32/win32.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35912) +++ ChangeLog (revision 35913) @@ -1,3 +1,9 @@ +Mon Jun 4 21:53:56 2012 Nobuyoshi Nakada <nobu@r...> + + * win32/win32.c (rb_w32_sysinit): let the system not display the + critical-error-handler message box and the Windows Error Reporting + dialog. [ruby-core:45389] [Bug #6535] + Mon Jun 4 19:36:25 2012 Tanaka Akira <akr@f...> * process.c (rb_exec_fillarg): allocate one more element before Index: win32/win32.c =================================================================== --- win32/win32.c (revision 35912) +++ win32/win32.c (revision 35913) @@ -774,6 +774,8 @@ _set_invalid_parameter_handler(invalid_parameter); _RTC_SetErrorFunc(rtc_error_handler); set_pioinfo_extra(); +#else + SetErrorMode(SEM_FAILCRITICALERRORS|SEM_NOGPFAULTERRORBOX); #endif get_version(); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/