0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/fte/src-e_unix.cpp.patch

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 ???