1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Address compilation problem againt libedit 3.1-20160903
libedit now defines rl_compentry_func_t just like readline, so the
conditional code is no longer required.
Author: tony mancill <tmancill@debian.org>
Forwarded: not-needed
--- a/src/native/org_gnu_readline_Readline.c
+++ b/src/native/org_gnu_readline_Readline.c
@@ -696,11 +696,7 @@
rl_completion_entry_function = NULL;
return;
}
-#ifdef JavaEditline
- rl_completion_entry_function = (CPFunction *) java_completer;
-#else
rl_completion_entry_function = (rl_compentry_func_t *) java_completer;
-#endif
}
else {
rl_completion_entry_function = NULL;
|