Files
termux-packages/packages/patch/tmpdir-path.patch
termux-pacman-bot 9783a50391 bump(main/patch): 2.8
2025-04-07 14:40:06 +00: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