Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
staging
rpms
bash
Commits
9aa1bb51
Commit
9aa1bb51
authored
Feb 14, 2021
by
distrobuild-bot
Browse files
import bash-4.4.19-8.el8_0
parent
87e70fae
Changes
2
Hide whitespace changes
Inline
Side-by-side
SOURCES/bash-5.0-shellpid-subshell.patch
0 → 100644
View file @
9aa1bb51
diff --git a/parse.y b/parse.y
--- a/parse.y
+++ b/parse.y
@@ -4193,7 +4193,7 @@
eof_error:
FREE (nestret);
}
- if MBTEST(ch == '$')
+ if MBTEST(ch == '$' && (tflags & LEX_WASDOL) == 0)
tflags |= LEX_WASDOL;
else
tflags &= ~LEX_WASDOL;
SPECS/bash.spec
View file @
9aa1bb51
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
Version: %{baseversion}%{patchleveltag}
Version: %{baseversion}%{patchleveltag}
Name: bash
Name: bash
Summary: The GNU Bourne Again shell
Summary: The GNU Bourne Again shell
Release:
7
%{?dist}
Release:
8
%{?dist}
License: GPLv3+
License: GPLv3+
Url: https://www.gnu.org/software/bash
Url: https://www.gnu.org/software/bash
Source0: https://ftp.gnu.org/gnu/bash/bash-%{baseversion}.tar.gz
Source0: https://ftp.gnu.org/gnu/bash/bash-%{baseversion}.tar.gz
...
@@ -95,6 +95,10 @@ Patch131: bash-4.4-case-in-command-subst.patch
...
@@ -95,6 +95,10 @@ Patch131: bash-4.4-case-in-command-subst.patch
Patch132: bash-4.4-coverity.patch
Patch132: bash-4.4-coverity.patch
# 1727952 - Parsing commands break when using $$ in command substitution $(..)
# https://lists.gnu.org/archive/html/bug-bash/2017-01/msg00065.html
Patch134: bash-5.0-shellpid-subshell.patch
BuildRequires: texinfo bison
BuildRequires: texinfo bison
BuildRequires: ncurses-devel
BuildRequires: ncurses-devel
BuildRequires: autoconf, gettext
BuildRequires: autoconf, gettext
...
@@ -318,6 +322,10 @@ end
...
@@ -318,6 +322,10 @@ end
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{name}.pc
%changelog
%changelog
* Wed Jul 10 2019 Siteshwar Vashisht <svashisht@redhat.com> - 4.4.19-8
- Fix `$$` expansion in subshell
Resolves: #1727952
* Mon Jan 14 2019 Siteshwar Vashisht <svashisht@redhat.com> - 4.4.19-7
* Mon Jan 14 2019 Siteshwar Vashisht <svashisht@redhat.com> - 4.4.19-7
- Bump version number
- Bump version number
Resolves: #1650059
Resolves: #1650059
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment