0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-22 02:49:37 +00:00
Files
termux-packages/packages/patch/tmpdir-path.patch
2025-04-07 15:38:02 +01:00

13 lines
331 B
Diff

diff -uNr patch-2.7.6/src/util.c patch-2.7.6.mod/src/util.c
--- patch-2.7.6/src/util.c 2018-02-03 14:41:49.000000000 +0200
+++ patch-2.7.6.mod/src/util.c 2019-03-01 18:35:00.313283739 +0200
@@ -1601,7 +1601,7 @@
}
#ifndef TMPDIR
-#define TMPDIR "/tmp"
+#define TMPDIR "@TERMUX_PREFIX@/tmp"
#endif
struct try_safe_open_args