summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--vm_dump.c7
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];