7 Star 0 Fork 18

src-openEuler/gdbm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Fix-coredump-in-gdbmtool-history-command.patch 806 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangzhiqiang 提交于 2022-12-08 17:22 . update to version 1.23
From c25c66f3194f9c75483e550832d65d6554b22ec8 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <[email protected]>
Date: Mon, 27 Jun 2022 11:49:31 +0300
Subject: [PATCH] Fix bug #569
* tools/gdbmshell.c (input_history_begin): return GDBMSHELL_ERR
if history is not available.
---
tools/gdbmshell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/gdbmshell.c b/tools/gdbmshell.c
index bccda41..20c6ea9 100644
--- a/tools/gdbmshell.c
+++ b/tools/gdbmshell.c
@@ -1892,7 +1892,7 @@ input_history_begin (struct command_param *param,
/* TRANSLATORS: %s is the stream name */
terror (_("input history is not available for %s input stream"),
input_stream_name ());
- return GDBMSHELL_OK;
+ return GDBMSHELL_ERR;
}
switch (param->argc)
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/gdbm.git
[email protected]:src-openeuler/gdbm.git
src-openeuler
gdbm
gdbm
master

搜索帮助