In case of the "Path too long" message prints the stacktrace

This commit is contained in:
Andrea Mazzoleni 2015-12-12 16:56:57 +01:00
parent f8214de959
commit 7313e3d9d0
4 changed files with 9 additions and 5 deletions

View file

@ -1103,6 +1103,7 @@ void os_abort(void)
printf(", gcc " __VERSION__);
#endif
printf(", %d-bit", (int)sizeof(void *) * 8);
printf(", PATH_MAX=%d", PATH_MAX);
printf("\n");
size = backtrace(stack, 32);