mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_dump.c (rb_vm_bugreport): Because of many log directories,
making directory lists readable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8db54e07f9
commit
a8b3d67e7c
2 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Nov 2 16:57:52 2012 Shota Fukumori <sorah@tubusu.net>
|
||||||
|
|
||||||
|
* vm_dump.c (rb_vm_bugreport): Because of many log directories,
|
||||||
|
making directory lists readable.
|
||||||
|
|
||||||
Fri Nov 2 16:44:00 2012 Kenta Murata <mrkn@mrkn.jp>
|
Fri Nov 2 16:44:00 2012 Kenta Murata <mrkn@mrkn.jp>
|
||||||
|
|
||||||
* vm_dump.c (rb_vm_bugreport): add ~/Library/Logs/DiagnosticReports
|
* vm_dump.c (rb_vm_bugreport): add ~/Library/Logs/DiagnosticReports
|
||||||
|
|
13
vm_dump.c
13
vm_dump.c
|
@ -633,12 +633,13 @@ 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,
|
||||||
"~/Library/Logs/CrashReporter,\n");
|
" See Crash Report log file under the one of following:\n"
|
||||||
fprintf(stderr, " ~/Library/Logs/DiagnosticReports, "
|
" * ~/Library/Logs/CrashReporter\n"
|
||||||
"/Library/Logs/CrashReporter,\n");
|
" * /Library/Logs/CrashReporter\n"
|
||||||
fprintf(stderr, " or /Library/Logs/DiagnosticReports "
|
" * ~/Library/Logs/DiagnosticReports\n"
|
||||||
"for the more detail of.\n");
|
" * /Library/Logs/DiagnosticReports\n"
|
||||||
|
" 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
Add a link
Reference in a new issue