termux-packages/packages/tilde/src-main.cc.patch
2022-02-05 03:14:34 +09:00

12 lines
315 B
Diff

--- a/src/main.cc
+++ b/src/main.cc
@@ -678,7 +678,7 @@
}
static std::string get_run_file_name() {
- static const char *TMP_DIR_BASE = "/tmp/tilde-";
+ static const char *TMP_DIR_BASE = "@TERMUX_PREFIX@/tmp/tilde-";
char hostname[128];
std::string linkname;
std::unique_ptr<char, free_deleter> path;