ruby-changes:16095
From: tarui <ko1@a...>
Date: Fri, 28 May 2010 00:54:09 +0900 (JST)
Subject: [ruby-changes:16095] Ruby:r28045 (trunk, ruby_1_9_2): * error.c (rb_bug): suppress the error report dialog if report_bug()
tarui 2010-05-28 00:53:42 +0900 (Fri, 28 May 2010) New Revision: 28045 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28045 Log: * error.c (rb_bug): suppress the error report dialog if report_bug() is finished successfly. Modified files: branches/ruby_1_9_2/ChangeLog branches/ruby_1_9_2/error.c trunk/ChangeLog trunk/error.c Index: ChangeLog =================================================================== --- ChangeLog (revision 28044) +++ ChangeLog (revision 28045) @@ -1,3 +1,8 @@ +Fri May 28 00:47:16 2010 Masaya Tarui <tarui@r...> + + * error.c (rb_bug): suppress the error report dialog if report_bug() + is finished successfly. + Fri May 28 00:32:25 2010 Yusuke Endoh <mame@t...> * insns.def (invokesuper): check consistency between class of self and Index: error.c =================================================================== --- error.c (revision 28044) +++ error.c (revision 28045) @@ -246,6 +246,10 @@ report_bug(rb_sourcefile(), rb_sourceline(), fmt, args); va_end(args); +#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1400 + _set_abort_behavior( 0, _CALL_REPORTFAULT); +#endif + abort(); } Index: ruby_1_9_2/ChangeLog =================================================================== --- ruby_1_9_2/ChangeLog (revision 28044) +++ ruby_1_9_2/ChangeLog (revision 28045) @@ -1,3 +1,8 @@ +Fri May 28 00:47:16 2010 Masaya Tarui <tarui@r...> + + * error.c (rb_bug): suppress the error report dialog if report_bug() + is finished successfly. + Thu May 27 23:52:43 2010 NARUSE, Yui <naruse@r...> * include/ruby/encoding.h (rb_filesystem_encindex): defined. Index: ruby_1_9_2/error.c =================================================================== --- ruby_1_9_2/error.c (revision 28044) +++ ruby_1_9_2/error.c (revision 28045) @@ -246,6 +246,10 @@ report_bug(rb_sourcefile(), rb_sourceline(), fmt, args); va_end(args); +#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1400 + _set_abort_behavior( 0, _CALL_REPORTFAULT); +#endif + abort(); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/