diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-12 02:25:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-12 02:25:30 +0000 |
commit | 20061dad6ada92327b64f0dcf4866eeaaca8744e (patch) | |
tree | 3781b87e745c4f03bdf8928750708507af6938e7 | |
parent | 4cac2f4adae2f2802073b5f4a79470fb634475a7 (diff) | |
download | ruby-20061dad6ada92327b64f0dcf4866eeaaca8744e.tar.gz |
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/trunk@44916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | error.c | 7 | ||||
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 1 |
2 files changed, 7 insertions, 1 deletions
@@ -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) diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 83bc907f8b..ae4dae6243 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -527,6 +527,7 @@ class TestRubyOptions < Test::Unit::TestCase \[NOTE\]\n You\smay\shave\sencountered\sa\sbug\sin\sthe\sRuby\sinterpreter\sor\sextension\slibraries.\n Bug\sreports\sare\swelcome.\n + (?:.*\n)? For\sdetails:\shttp:\/\/.*\.ruby-lang\.org/.*\n \n (?:#{additional}) |