mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7def092804
commit
3d718d2119
1 changed files with 1 additions and 2 deletions
|
@ -837,9 +837,8 @@ rb_w32_sysinit(int *argc, char ***argv)
|
|||
_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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue