代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。