termux-packages/packages/gdb/gdb-cli-cli-cmds.c.patch

13 lines
385 B
Diff
Raw Normal View History

2019-05-12 01:09:39 +02:00
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/applets/vi";
fn = symtab_to_fullname (sal.symtab);