0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-23 03:19:39 +00:00
Files
termux-packages/packages/diffstat/diffstat.c.patch
2025-04-25 12:42:12 +05:30

12 lines
294 B
Diff

--- a/diffstat.c
+++ b/diffstat.c
@@ -3249,7 +3249,7 @@ copy_stdin(char **dirpath)
const char *tmp = getenv("TMPDIR");
char *result = NULL;
if (tmp == NULL)
- tmp = "/tmp/";
+ tmp = "@TERMUX_PREFIX@/tmp/";
*dirpath = xmalloc(strlen(tmp) + 12);
strcpy(*dirpath, tmp);