From 1b7b47010a73b8ecaebf28ca2ad5a2dbe73ad0d2 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 10 Sep 2014 03:20:47 +0000 Subject: merge revision(s) 44916: [Backport #10043] error.c: Crash Report log * error.c (REPORTBUG_MSG): mention about Crash Report log file on MacOS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'error.c') diff --git a/error.c b/error.c index 5f8b98c1ed..d05b2eb1cf 100644 --- a/error.c +++ b/error.c @@ -41,12 +41,17 @@ extern const char ruby_description[]; -#define REPORTBUG_MSG \ +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" \ + "" +#if defined __APPLE__ + "Don't forget to include the above Crash Report log file.\n" +#endif "For details: http://www.ruby-lang.org/bugreport.html\n\n" \ + ; static const char * rb_strerrno(int err) -- cgit v1.2.3