termux-packages/packages/fte/src-e_unix.cpp.patch
2022-02-23 18:19:54 +09:00

12 lines
395 B
Diff

--- a/src/e_unix.cpp
+++ b/src/e_unix.cpp
@@ -44,7 +44,7 @@
word = wordAsk;
}
- snprintf(file, sizeof(file)-1, "/tmp/fte%d-man-%s", getpid(), word);
+ snprintf(file, sizeof(file)-1, "@TERMUX_PREFIX@/tmp/fte%d-man-%s", getpid(), word);
snprintf(command, sizeof(command)-1, "%s %s %s >'%s' 2>&1", HelpCommand, options, word, file);
/// !!! why is this needed ???