0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/gdb/gdb-cli-cli-cmds.c.patch
2020-07-09 01:46:28 +03:00

13 lines
379 B
Diff

diff -u -r ../gdb-8.3/gdb/cli/cli-cmds.c ./gdb/cli/cli-cmds.c
--- ../gdb-8.3/gdb/cli/cli-cmds.c 2019-05-11 18:19:02.000000000 +0000
+++ ./gdb/cli/cli-cmds.c 2019-05-11 22:43:31.962874247 +0000
@@ -851,7 +851,7 @@
}
if ((editor = getenv ("EDITOR")) == NULL)
- editor = "/bin/ex";
+ editor = "@TERMUX_PREFIX@/bin/nano";
fn = symtab_to_fullname (sal.symtab);