0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2025-02-24 03:55:02 +00:00
glibc-packages/gpkg/libedit/readline.c.patch
2023-10-15 11:16:13 +03:00

12 lines
450 B
Diff

--- libedit-20230828-3.1/src/readline.c 2023-08-27 10:31:37.000000000 +0300
+++ libedit-20230828-3.1/src/readline.c.patch 2023-10-08 22:56:32.815860814 +0300
@@ -1281,7 +1281,7 @@
return max_input_history != INT_MAX;
}
-static const char _history_tmp_template[] = "/tmp/.historyXXXXXX";
+static const char _history_tmp_template[] = "@TERMUX_PREFIX_CLASSICAL@/tmp/.historyXXXXXX";
int
history_truncate_file (const char *filename, int nlines)