mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-13 03:00:31 +00:00
12 lines
290 B
Diff
12 lines
290 B
Diff
--- a/src/libsys.c
|
|
+++ b/src/libsys.c
|
|
@@ -6403,7 +6403,7 @@
|
|
#if HAVE_MKSTEMP
|
|
|
|
#line 440 "libsys.scm"
|
|
-{char nam[]="/tmp/fileXXXXXX";int fd;
|
|
+{char nam[]="@TERMUX_PREFIX@/tmp/fileXXXXXX";int fd;
|
|
SCM_SYSCALL(fd,mkstemp(nam));
|
|
if ((fd)<(0)){{Scm_SysError("mkstemp failed");}}
|
|
close(fd);
|