--- a/src/libsys.c +++ b/src/libsys.c @@ -10669,7 +10669,7 @@ #if HAVE_MKSTEMP #line 438 "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);