openbsd-ports/net/cadaver/patches/patch-src_cadaver_c
lebel 7696b08101 Changes in release 0.22.1:
* Restore DASL/DeltaV support (GRASE team).
* Fix to only use netrc on first attempt at authentication.
* Update to neon 0.24.5:
 - SECURITY (CVE CAN-2004-0179): fix for format string vulnerabilities

Thanks to Robert Nagy for the work.
2004-04-14 17:10:34 +00:00

31 lines
983 B
Plaintext

$OpenBSD: patch-src_cadaver_c,v 1.1 2004/04/14 17:10:34 lebel Exp $
--- src/cadaver.c.orig Wed Apr 14 18:43:11 2004
+++ src/cadaver.c Wed Apr 14 18:45:10 2004
@@ -711,7 +711,7 @@
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);
@@ -723,7 +723,7 @@
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:
@@ -731,7 +731,7 @@
break;
case parmscope_remote:
if (have_connection) {
- matches = rl_completion_matches(text, remote_completion);
+ matches = rl_completion_matches((char *)text, remote_completion);
}
break;
}