* error.c (rb_bug): suppress the error report dialog if report_bug()
is finished successfly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7e3454037a
commit
47000e8aeb
@ -1,3 +1,8 @@
|
|||||||
|
Fri May 28 00:47:16 2010 Masaya Tarui <tarui@ruby-lnag.org>
|
||||||
|
|
||||||
|
* 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@tsg.ne.jp>
|
Fri May 28 00:32:25 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* insns.def (invokesuper): check consistency between class of self and
|
* insns.def (invokesuper): check consistency between class of self and
|
||||||
|
4
error.c
4
error.c
@ -246,6 +246,10 @@ rb_bug(const char *fmt, ...)
|
|||||||
report_bug(rb_sourcefile(), rb_sourceline(), fmt, args);
|
report_bug(rb_sourcefile(), rb_sourceline(), fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
|
_set_abort_behavior( 0, _CALL_REPORTFAULT);
|
||||||
|
#endif
|
||||||
|
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user