SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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;
}