0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
termux-packages/packages/lnav/src-grep_proc.cc.patch
2022-11-22 20:57:27 +00:00

12 lines
420 B
Diff

--- a/src/grep_proc.cc
+++ b/src/grep_proc.cc
@@ -172,7 +172,7 @@
perror("setvbuf");
}
lnav_log_file
- = make_optional_from_nullable(fopen("/tmp/lnav.grep.err", "a"));
+ = make_optional_from_nullable(fopen("@TERMUX_PREFIX@/tmp/lnav.grep.err", "a"));
line_value.reserve(BUFSIZ * 2);
while (!this->gp_queue.empty()) {
LineType start_line = this->gp_queue.front().first;