0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/i3/i3-4.15_src_sighandler.c.patch
2024-11-07 19:25:07 +05:30

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();