aboutsummaryrefslogtreecommitdiffstats
path: root/plpftp/ftp.cc
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-11-15 23:46:46 +0000
committerReuben Thomas <rrt@sc3d.org>2007-11-15 23:46:46 +0000
commit99033d574cc6e3b772849d167e9c731b51a0722f (patch)
tree889714c23e2c30ed824acbe58da1c4e39c5f26ef /plpftp/ftp.cc
parentd1cd1032d3207835c4ce7fc7ae7f6fb597e2f30a (diff)
downloadplptools-99033d574cc6e3b772849d167e9c731b51a0722f.tar.gz
plptools-99033d574cc6e3b772849d167e9c731b51a0722f.tar.bz2
plptools-99033d574cc6e3b772849d167e9c731b51a0722f.zip
Remove workaround for old readline lib.
Diffstat (limited to 'plpftp/ftp.cc')
-rw-r--r--plpftp/ftp.cc6
1 files changed, 0 insertions, 6 deletions
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 <readline/history.h>
#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::