加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0006-replace-CPPFunction-call-with-rl_completion_func_t.patch 717 Bytes
一键复制 编辑 原始数据 按行查看 历史
weidongkl 提交于 2021-02-18 17:57 . Initial package
From: YuanQing Su <syq@debian.org>
Date: Mon, 21 Jul 2014 08:22:29 +0000
Subject: replace CPPFunction call with rl_completion_func_t
This closes #741761.
---
completion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/completion.c b/completion.c
index 98e714a..de44329 100644
--- a/completion.c
+++ b/completion.c
@@ -53,7 +53,7 @@ void initialize_readline()
so that if zssh_completion() fails nothing is completed */
rl_completion_entry_function = fake_generator;
/* Tell the completer that we want a crack first. */
- rl_attempted_completion_function = (CPPFunction *) zssh_completion;
+ rl_attempted_completion_function = (rl_completion_func_t *) zssh_completion;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化