termux-packages/packages/libc-client/src-osdep-unix-env_unix.c.p...

12 lines
342 B
Diff
Raw Normal View History

2021-12-10 18:19:45 +01:00
--- a/src/osdep/unix/env_unix.c
+++ b/src/osdep/unix/env_unix.c
@@ -124,7 +124,7 @@
* systems.
*/
-static const char *tmpdir = "/tmp";
+static const char *tmpdir = "@TERMUX_PREFIX@/tmp";
/* Do not change shlock_mode. Doing so can cause mailbox corruption and
* denial of service. It also defeats the entire purpose of the shared