diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-12-29 15:02:50 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-12-31 03:37:07 +0100 |
commit | 2f5452633816fc3d81e9e31224589fb7467ec1eb (patch) | |
tree | f50d39056c5485395c16c8d8ad83ecf975551cdb /app-shells/bash/files | |
parent | sys-apps/util-linux: remove unused patches (diff) | |
download | gentoo-2f5452633816fc3d81e9e31224589fb7467ec1eb.tar.gz gentoo-2f5452633816fc3d81e9e31224589fb7467ec1eb.tar.bz2 gentoo-2f5452633816fc3d81e9e31224589fb7467ec1eb.zip |
app-shells/bash: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34539
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r-- | app-shells/bash/files/bash-5.2_p15-shell-parser-reset-issue.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/app-shells/bash/files/bash-5.2_p15-shell-parser-reset-issue.patch b/app-shells/bash/files/bash-5.2_p15-shell-parser-reset-issue.patch deleted file mode 100644 index bef5586d0efc..000000000000 --- a/app-shells/bash/files/bash-5.2_p15-shell-parser-reset-issue.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://savannah.gnu.org/support/?110745 -https://lists.gnu.org/archive/html/bug-bash/2022-10/msg00103.html - -Note that both documents make the claim that only interactive shells are -affected. This is false, as is demonstrated below. - -$ bash -c '[[ ]]; echo fin'; echo $? -0 - -diff --git a/parse.y b/parse.y -index 11b71d4..02b2af1 100644 ---- parse.y -+++ parse.y -@@ -2899,7 +2899,7 @@ yylex () - #if defined (YYERRCODE) && !defined (YYUNDEF) - current_token = YYERRCODE; - #else -- current_token = YYerror; -+ current_token = YYUNDEF; - #endif - - return (current_token); -@@ -4156,7 +4156,9 @@ parse_comsub (qc, open, close, lenp, flags) - shell_eof_token = ps.eof_token; - expand_aliases = ps.expand_aliases; - -- /* yyparse() has already called yyerror() and reset_parser() */ -+ /* yyparse() has already called yyerror() and reset_parser(), so we set -+ PST_NOERROR to avoid a redundant error message. */ -+ parser_state |= PST_NOERROR; - return (&matched_pair_error); - } - else if (r != 0) |