1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
naruse 2019-02-13 04:32:03 +00:00
parent e20e67980e
commit a8c0f27276

12
error.c
View file

@ -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();
}