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-system.c.patch
2021-12-23 15:52:50 +02:00

12 lines
385 B
Diff

--- a/src/system.c
+++ b/src/system.c
@@ -419,7 +419,7 @@
const char *s;
if ((s = Scm_GetEnv("TMPDIR")) != NULL) return SCM_MAKE_STR_COPYING(s);
if ((s = Scm_GetEnv("TMP")) != NULL) return SCM_MAKE_STR_COPYING(s);
- else return SCM_MAKE_STR("/tmp"); /* fallback */
+ else return SCM_MAKE_STR("@TERMUX_PREFIX@/tmp"); /* fallback */
#endif /*!GAUCHE_WINDOWS*/
}