0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 03:00:31 +00:00
termux-packages/packages/gauche/src-libsys.c.patch
2021-12-25 20:41:41 +01:00

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);