From 0d3cd4119e8c18dba326aa51ec0aee7719d30b31 Mon Sep 17 00:00:00 2001
From: mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Sun, 30 Sep 2012 14:34:55 +0000
Subject: [PATCH] * vm_dump.c (rb_vm_bugreport): add
 /Library/Logs/DiagnosticReports   in the list of locations of crash reports.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 ChangeLog | 5 +++++
 vm_dump.c | 7 ++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9e322c66fd..a685ce97d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Sep 30 23:32:00 2012  Kenta Murata  <mrkn@mrkn.jp>
+
+	* vm_dump.c (rb_vm_bugreport): add /Library/Logs/DiagnosticReports
+	  in the list of locations of crash reports.
+
 Sun Sep 30 21:18:03 2012  NARUSE, Yui  <naruse@ruby-lang.org>
 
 	* string.c (rb_str_concat): use memcpy to copy a string which contains
diff --git a/vm_dump.c b/vm_dump.c
index 4f7525e8a9..10061020ce 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -759,9 +759,10 @@ rb_vm_bugreport(void)
 #if defined __APPLE__
 	fprintf(stderr, "\n");
 	fprintf(stderr, "   See Crash Report log file under "
-		"~/Library/Logs/CrashReporter or\n");
-	fprintf(stderr, "   /Library/Logs/CrashReporter, for "
-		"the more detail of.\n");
+		"~/Library/Logs/CrashReporter,\n");
+	fprintf(stderr, "   /Library/Logs/CrashReporter, or "
+		"/Library/Logs/DiagnosticReports, for\n");
+	fprintf(stderr, "   the more detail of.\n");
 #elif HAVE_BACKTRACE
 #define MAX_NATIVE_TRACE 1024
 	static void *trace[MAX_NATIVE_TRACE];