]> git.pld-linux.org Git - packages/lftp.git/blame - lftp-readline.patch
- "FTP" unification
[packages/lftp.git] / lftp-readline.patch
CommitLineData
40450546
PG
1--- ./src/complete.cc.orig Mon May 14 20:59:10 2001
2+++ ./src/complete.cc Mon May 14 22:13:26 2001
3@@ -38,8 +38,14 @@
4 #include "lftp_rl.h"
8dcd1ef5
JB
5 #include "url.h"
6
40450546
PG
7+#include <ctype.h>
8+
8dcd1ef5
JB
9 CDECL_BEGIN
10+#undef __P
11+#define __P(args) args
12 #include "readline/readline.h"
13+#undef __P
14+#define __P(args) args __THROW
15 CDECL_END
16
17 static char *bash_dequote_filename (char *text, int quote_char);
40450546
PG
18@@ -577,7 +583,7 @@
19 textq=bash_dequote_filename(textq, quoted);
20 len=strlen(textq);
8dcd1ef5 21
40450546
PG
22- char **matches=lftp_rl_completion_matches(textq,generator);
23+ char **matches=rl_completion_matches(textq,generator);
8dcd1ef5
JB
24
25 glob_res=0;
26 if(rg)
40450546
PG
27@@ -952,7 +958,6 @@
28 return (0);
29 }
8dcd1ef5 30
40450546
PG
31-extern "C" int (*rl_last_func)(int,int);
32 static int lftp_complete_remote(int count,int key)
8dcd1ef5 33 {
8dcd1ef5 34
This page took 0.072588 seconds and 4 git commands to generate.