completion_matches.diff at [47ff63a093]

File server/buildpkgs/tclreadline/patches/2.1.0/completion_matches.diff artifact 07a20f0688 part of check-in 47ff63a093


Index: tclreadline/tclreadline.c
=====================================================================
--- tclreadline.orig/tclreadline.c
+++ tclreadline/tclreadline.c
@@ -745,7 +745,7 @@
     }
 
     if (!matches && tclrl_use_builtin_completer) {
-	matches = completion_matches(text, TclReadline0generator);
+	matches = rl_completion_matches(text, (rl_compentry_func_t *)TclReadline0generator);
     }
 
     return matches;