зеркало из https://github.com/github/ruby.git
* 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:
Родитель
173aacf9ff
Коммит
0d3cd4119e
|
@ -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];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче