SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
29
net/cadaver/patches/patch-src_cadaver_c
Normal file
29
net/cadaver/patches/patch-src_cadaver_c
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- src/cadaver.c.orig Wed Oct 29 10:35:33 2008
|
||||
+++ src/cadaver.c Fri Apr 30 11:38:11 2010
|
||||
@@ -724,7 +724,7 @@ static char **completion(const char *text, int start,
|
||||
char *sep = strchr(rl_line_buffer, ' ');
|
||||
|
||||
if (start == 0) {
|
||||
- matches = rl_completion_matches(text, command_generator);
|
||||
+ matches = rl_completion_matches((char *)text, command_generator);
|
||||
}
|
||||
else if (sep != NULL) {
|
||||
char *cname = ne_strndup(rl_line_buffer, sep - rl_line_buffer);
|
||||
@@ -736,7 +736,7 @@ static char **completion(const char *text, int start,
|
||||
case parmscope_none:
|
||||
break;
|
||||
case parmscope_local:
|
||||
- matches = rl_completion_matches(text,
|
||||
+ matches = rl_completion_matches((char *)text,
|
||||
rl_filename_completion_function);
|
||||
break;
|
||||
case parmscope_option:
|
||||
@@ -744,7 +744,7 @@ static char **completion(const char *text, int start,
|
||||
break;
|
||||
case parmscope_remote:
|
||||
if (session.connected) {
|
||||
- matches = rl_completion_matches(text, remote_completion);
|
||||
+ matches = rl_completion_matches((char *)text, remote_completion);
|
||||
}
|
||||
break;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue