From a8c0f27276c16d4774f611ce2b1c793b92dcdc89 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 13 Feb 2019 04:32:03 +0000 Subject: Remove message to recommend to repot bug This message is showed on SEGV, but it is usually caused by 3rd party libraries and we don't help reporters well. I concluded this message doesn't help users as expected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/error.c b/error.c index a93d11b909..3b8bdce46b 100644 --- a/error.c +++ b/error.c @@ -60,15 +60,6 @@ static ID id_warn; extern const char ruby_description[]; -static const char REPORTBUG_MSG[] = - "[NOTE]\n" \ - "You may have encountered a bug in the Ruby interpreter" \ - " or extension libraries.\n" \ - "Bug reports are welcome.\n" \ - "" - "For details: https://www.ruby-lang.org/bugreport.html\n\n" \ - ; - static const char * rb_strerrno(int err) { @@ -548,7 +539,6 @@ bug_report_end(FILE *out) (*reporter->func)(out, reporter->data); } } - fputs(REPORTBUG_MSG, out); postscript_dump(out); } @@ -652,8 +642,6 @@ rb_async_bug_errno(const char *mesg, int errno_arg) } WRITE_CONST(2, "\n\n"); write_or_abort(2, ruby_description, strlen(ruby_description)); - WRITE_CONST(2, "\n\n"); - WRITE_CONST(2, REPORTBUG_MSG); abort(); } -- cgit v1.2.3