From 99033d574cc6e3b772849d167e9c731b51a0722f Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 15 Nov 2007 23:46:46 +0000 Subject: Remove workaround for old readline lib. --- plpftp/ftp.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plpftp/ftp.cc') diff --git a/plpftp/ftp.cc b/plpftp/ftp.cc index 9c8a127..d30bd16 100644 --- a/plpftp/ftp.cc +++ b/plpftp/ftp.cc @@ -58,7 +58,6 @@ extern "C" { #if HAVE_LIBHISTORY #include #endif -#include "rlcrap.h" } #endif @@ -1240,13 +1239,8 @@ initReadline(void) rl_readline_name = "plpftp"; rl_completion_entry_function = FUNCAST(null_completion); rl_attempted_completion_function = CPFUNCAST(do_completion); -#if (READLINE_VERSION < 402) - rlcrap_setpointers(command_generator, filename_generator); -#endif -#if (READLINE_VERSION >= 402) rl_basic_word_break_characters = " \t\n\"\\'`@><=;|&{("; #endif -#endif } void ftp:: -- cgit v1.2.3