From d3f504875cb94d2e458e1e233e5ab8b40281fe2b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 27 Jun 2022 11:49:31 +0300 Subject: [PATCH] Fix bug#569 * src/gdbmshell.c (input_history_begin): return GDBMSHELL_ERR if history is not available. Conflict: tools/gdbmshell.c --> src/gdbmshell.c Reference: https://puszcza.gnu.org.ua/bugs/index.php?569 --- src/gdbmshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdbmshell.c b/src/gdbmshell.c index 4b84c23..12fc2bd 100644 --- a/src/gdbmshell.c +++ b/src/gdbmshell.c @@ -1714,7 +1714,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) -- 1.8.3.1