mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
12 lines
292 B
Diff
12 lines
292 B
Diff
--- a/main.c
|
|
+++ b/main.c
|
|
@@ -378,7 +378,7 @@
|
|
}
|
|
|
|
static char *create_tmpfile(void) {
|
|
- char *path = strdup("/tmp/chibicc-XXXXXX");
|
|
+ char *path = strdup("@TERMUX_PREFIX@/tmp/chibicc-XXXXXX");
|
|
int fd = mkstemp(path);
|
|
if (fd == -1)
|
|
error("mkstemp failed: %s", strerror(errno));
|