mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9ab2ce20b3
commit
07e222d720
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Mon Jun 4 21:53:56 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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@fsij.org>
|
||||
|
||||
* process.c (rb_exec_fillarg): allocate one more element before
|
||||
|
|
|
@ -774,6 +774,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
|
||||
|
||||
get_version();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue