12 lines
290 B
Diff
12 lines
290 B
Diff
|
--- a/src/libsys.c
|
||
|
+++ b/src/libsys.c
|
||
|
@@ -5628,7 +5628,7 @@
|
||
|
#if HAVE_MKSTEMP
|
||
|
|
||
|
#line 450 "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);
|