diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-14 17:52:13 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-14 17:52:13 -0400 |
| commit | 41d0e70eba4e5155746552e8a98ee1b599e0c8a5 (patch) | |
| tree | 9c43b8a80bedfb828c69afac1a486ab12d616a79 | |
| parent | 6f3c975fa8c75328b9f37b1a25996bbc41780495 (diff) | |
Print full library path
| -rw-r--r-- | src/stdlib/stacktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/stacktrace.c b/src/stdlib/stacktrace.c index 947640d5..0ae4915e 100644 --- a/src/stdlib/stacktrace.c +++ b/src/stdlib/stacktrace.c @@ -72,7 +72,7 @@ static void _print_stack_frame(FILE *out, const char *cwd, const char *install_d fprintf(out, USE_COLOR ? "\033[1mIn \033[33m%s()\033[37m" : "In %s()", function_display); if (filename) { if (install_dir[0] && strncmp(filename, install_dir, strlen(install_dir)) == 0) - fprintf(out, USE_COLOR ? " in library \033[35m%s:%d" : " in library %s:%d", + fprintf(out, USE_COLOR ? " in library \033[35m~/.local/share/tomo/installed/%s:%d" : " in library ~/.local/share/tomo/installed/%s:%d", filename + strlen(install_dir), lineno); else fprintf(out, USE_COLOR ? " in \033[35m%s:%d" : " in %s:%d", filename, lineno); |
