mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
12 lines
280 B
Diff
12 lines
280 B
Diff
--- a/src/sighandler.c
|
|
+++ b/src/sighandler.c
|
|
@@ -49,7 +49,7 @@
|
|
static int sighandler_backtrace(void) {
|
|
char *tmpdir = getenv("TMPDIR");
|
|
if (tmpdir == NULL) {
|
|
- tmpdir = "/tmp";
|
|
+ tmpdir = "@TERMUX_PREFIX@/tmp";
|
|
}
|
|
|
|
pid_t pid_parent = getpid();
|