12 lines
367 B
Diff
12 lines
367 B
Diff
--- ./src/helpers.c 2020-08-02 15:51:32.000000000 +0800
|
|
+++ ./src.mod/helpers.c 2022-03-21 21:23:47.300854469 +0800
|
|
@@ -124,7 +124,7 @@
|
|
int tempfd;
|
|
char *runtime_dir = getenv(RUNTIME_DIR_ENV);
|
|
if (runtime_dir == NULL) {
|
|
- runtime_dir = "/tmp";
|
|
+ runtime_dir = "@TERMUX_PREFIX@/tmp";
|
|
}
|
|
|
|
char *fifo_path = malloc(strlen(runtime_dir)+1+strlen(template)+1);
|