Skip to content

Commit 239068c

Browse files
committed
merge revision(s) r44916: [Backport ruby#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
1 parent 3598e34 commit 239068c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

error.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,17 @@ VALUE rb_eEINPROGRESS;
4343

4444
extern const char ruby_description[];
4545

46-
#define REPORTBUG_MSG \
46+
static const char REPORTBUG_MSG[] =
4747
"[NOTE]\n" \
4848
"You may have encountered a bug in the Ruby interpreter" \
4949
" or extension libraries.\n" \
5050
"Bug reports are welcome.\n" \
51+
""
52+
#if defined __APPLE__
53+
"Don't forget to include the above Crash Report log file.\n"
54+
#endif
5155
"For details: http://www.ruby-lang.org/bugreport.html\n\n" \
56+
;
5257

5358
static const char *
5459
rb_strerrno(int err)

test/ruby/test_rubyoptions.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ module SEGVTest
527527
\[NOTE\]\n
528528
You\smay\shave\sencountered\sa\sbug\sin\sthe\sRuby\sinterpreter\sor\sextension\slibraries.\n
529529
Bug\sreports\sare\swelcome.\n
530+
(?:.*\n)?
530531
For\sdetails:\shttp:\/\/.*\.ruby-lang\.org/.*\n
531532
\n
532533
(?:#{additional})

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.2"
22
#define RUBY_RELEASE_DATE "2014-09-06"
3-
#define RUBY_PATCHLEVEL 223
3+
#define RUBY_PATCHLEVEL 224
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 9

0 commit comments

Comments
 (0)