[前][次][番号順一覧][スレッド一覧]

ruby-changes:32837

From: nobu <ko1@a...>
Date: Wed, 12 Feb 2014 11:25:33 +0900 (JST)
Subject: [ruby-changes:32837] nobu:r44916 (trunk): error.c: Crash Report log

nobu	2014-02-12 11:25:30 +0900 (Wed, 12 Feb 2014)

  New Revision: 44916

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44916

  Log:
    error.c: Crash Report log
    
    * error.c (REPORTBUG_MSG): mention about Crash Report log file on
      MacOS X.

  Modified files:
    trunk/error.c
    trunk/test/ruby/test_rubyoptions.rb
Index: error.c
===================================================================
--- error.c	(revision 44915)
+++ error.c	(revision 44916)
@@ -43,12 +43,17 @@ VALUE rb_eEINPROGRESS; https://github.com/ruby/ruby/blob/trunk/error.c#L43
 
 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)
Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 44915)
+++ test/ruby/test_rubyoptions.rb	(revision 44916)
@@ -527,6 +527,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L527
       \[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})

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]