From 19532f37db75766e22c983a79c42b9939a27f47e Mon Sep 17 00:00:00 2001 From: leeffo Date: Thu, 21 Sep 2023 13:53:57 +0800 Subject: [PATCH] modify bashhist.c comment --- bash-5.1/bashhist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash-5.1/bashhist.c b/bash-5.1/bashhist.c index bf1733ba..f80cc0f1 100644 --- a/bash-5.1/bashhist.c +++ b/bash-5.1/bashhist.c @@ -875,7 +875,7 @@ bash_add_history (line) add_it = 1; if (command_oriented_history && current_command_line_count > 1) { - is_comment = (parser_state & PST_HEREDOC) ? 0 : shell_comment (line); #开头是返回1,后面有返回2,没有返回0 + is_comment = (parser_state & PST_HEREDOC) ? 0 : shell_comment (line); //开头是返回1,后面有返回2,没有返回0 /* The second and subsequent lines of a here document have the trailing newline preserved. We don't want to add extra newlines here, but we -- Gitee