ruby-changes:45668
From: nobu <ko1@a...>
Date: Tue, 28 Feb 2017 13:33:22 +0900 (JST)
Subject: [ruby-changes:45668] nobu:r57741 (trunk): disable critical-error-handler
nobu 2017-02-28 13:33:15 +0900 (Tue, 28 Feb 2017) New Revision: 57741 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57741 Log: disable critical-error-handler * win32/win32.c (rb_w32_sysinit): disable critical-error-handler message box even on mswin, regardless of runtime DLL version. [ruby-dev:49988] [Bug #13254] Modified files: trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 57740) +++ win32/win32.c (revision 57741) @@ -837,9 +837,8 @@ rb_w32_sysinit(int *argc, char ***argv) https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L837 _set_invalid_parameter_handler(invalid_parameter); _RTC_SetErrorFunc(rtc_error_handler); set_pioinfo_extra(); -#else - SetErrorMode(SEM_FAILCRITICALERRORS|SEM_NOGPFAULTERRORBOX); #endif + SetErrorMode(SEM_FAILCRITICALERRORS|SEM_NOGPFAULTERRORBOX); get_version(); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/