summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-05 15:41:26 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-05 15:41:26 +0000
commit0f1fb3d6e34cf9d889656e4362dadaeae949403d (patch)
tree9214033fffbca361038c4356d7ad6031174f5d8f /error.c
parent667af1ee3149ba51a5559a3db3d1fc52fda06bed (diff)
merge revision(s) r44916: [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_1@47416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/error.c b/error.c
index b9d8d52809..d533a3bf4b 100644
--- a/error.c
+++ b/error.c
@@ -43,12 +43,17 @@ VALUE rb_eEINPROGRESS;
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)