mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
173aacf9ff
commit
0d3cd4119e
2 changed files with 9 additions and 3 deletions
|
@ -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>
|
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
|
* string.c (rb_str_concat): use memcpy to copy a string which contains
|
||||||
|
|
|
@ -759,9 +759,10 @@ rb_vm_bugreport(void)
|
||||||
#if defined __APPLE__
|
#if defined __APPLE__
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
fprintf(stderr, " See Crash Report log file under "
|
fprintf(stderr, " See Crash Report log file under "
|
||||||
"~/Library/Logs/CrashReporter or\n");
|
"~/Library/Logs/CrashReporter,\n");
|
||||||
fprintf(stderr, " /Library/Logs/CrashReporter, for "
|
fprintf(stderr, " /Library/Logs/CrashReporter, or "
|
||||||
"the more detail of.\n");
|
"/Library/Logs/DiagnosticReports, for\n");
|
||||||
|
fprintf(stderr, " the more detail of.\n");
|
||||||
#elif HAVE_BACKTRACE
|
#elif HAVE_BACKTRACE
|
||||||
#define MAX_NATIVE_TRACE 1024
|
#define MAX_NATIVE_TRACE 1024
|
||||||
static void *trace[MAX_NATIVE_TRACE];
|
static void *trace[MAX_NATIVE_TRACE];
|
||||||
|
|
Loading…
Add table
Reference in a new issue