1 --- lftp-2.3.9.orig/src/complete.cc Fri Dec 8 16:30:37 2000
2 +++ lftp-2.3.9/src/complete.cc Sat Apr 14 05:38:44 2001
8 +#define __P(args) args
9 #include "readline/readline.h"
11 +#define __P(args) args __THROW
14 static char *bash_dequote_filename (char *text, int quote_char);
16 text=bash_dequote_filename(text, quoted);
19 - char **matches=completion_matches(text,(CPFunction*)generator);
20 + char **matches=rl_completion_matches(text,(CPFunction*)generator);
26 int lftp_complete_remote(int count,int key)
28 - extern Function *rl_last_func;
30 if(rl_last_func == (Function*)lftp_complete_remote)
31 rl_last_func = (Function*)rl_complete;