* 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
This commit is contained in:
nobu 2014-02-12 02:25:30 +00:00
Родитель 4cac2f4ada
Коммит 20061dad6a
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -43,12 +43,17 @@ VALUE rb_eEINPROGRESS;
extern const char ruby_description[]; extern const char ruby_description[];
#define REPORTBUG_MSG \ static const char REPORTBUG_MSG[] =
"[NOTE]\n" \ "[NOTE]\n" \
"You may have encountered a bug in the Ruby interpreter" \ "You may have encountered a bug in the Ruby interpreter" \
" or extension libraries.\n" \ " or extension libraries.\n" \
"Bug reports are welcome.\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" \ "For details: http://www.ruby-lang.org/bugreport.html\n\n" \
;
static const char * static const char *
rb_strerrno(int err) rb_strerrno(int err)

Просмотреть файл

@ -527,6 +527,7 @@ class TestRubyOptions < Test::Unit::TestCase
\[NOTE\]\n \[NOTE\]\n
You\smay\shave\sencountered\sa\sbug\sin\sthe\sRuby\sinterpreter\sor\sextension\slibraries.\n You\smay\shave\sencountered\sa\sbug\sin\sthe\sRuby\sinterpreter\sor\sextension\slibraries.\n
Bug\sreports\sare\swelcome.\n Bug\sreports\sare\swelcome.\n
(?:.*\n)?
For\sdetails:\shttp:\/\/.*\.ruby-lang\.org/.*\n For\sdetails:\shttp:\/\/.*\.ruby-lang\.org/.*\n
\n \n
(?:#{additional}) (?:#{additional})