|
|
@ -75,7 +75,11 @@ void dump_stack_trace() |
|
|
|
progname[n] = 0; |
|
|
|
progname[n] = 0; |
|
|
|
|
|
|
|
|
|
|
|
p = strrchr(progname, '/'); |
|
|
|
p = strrchr(progname, '/'); |
|
|
|
|
|
|
|
if (p != nullptr) { |
|
|
|
*p = 0; |
|
|
|
*p = 0; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
p = progname; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
char output_filepath[30]; |
|
|
|
char output_filepath[30]; |
|
|
|
snprintf(output_filepath, |
|
|
|
snprintf(output_filepath, |
|
|
|