Update to bash 5.2 patchlevel 21
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=374
This commit is contained in:
parent
6eb94e4614
commit
4973cd1e61
@ -13,7 +13,7 @@
|
||||
/* Let's see if we can keep SIGWINCH from interrupting interruptible system
|
||||
calls, like open(2)/read(2)/write(2) */
|
||||
#if defined (SIGWINCH)
|
||||
@@ -826,6 +826,10 @@ set_signal_handler (sig, handler)
|
||||
@@ -824,6 +826,10 @@ set_signal_handler (sig, handler)
|
||||
it to be as close to SIG_IGN as possible. */
|
||||
if (sig == SIGTERM && handler == sigterm_sighandler)
|
||||
act.sa_flags |= SA_RESTART; /* XXX */
|
||||
|
BIN
bash-5.2-patches.tar.bz2
(Stored with Git LFS)
BIN
bash-5.2-patches.tar.bz2
(Stored with Git LFS)
Binary file not shown.
@ -129,7 +129,7 @@
|
||||
# if defined (HAVE_SYS_TIME_H)
|
||||
--- parse.y
|
||||
+++ parse.y 2022-04-28 11:53:04.334380153 +0000
|
||||
@@ -1498,7 +1498,7 @@ input_file_descriptor ()
|
||||
@@ -1513,7 +1513,7 @@ input_file_descriptor ()
|
||||
|
||||
#if defined (READLINE)
|
||||
char *current_readline_prompt = (char *)NULL;
|
||||
|
35
bash.changes
35
bash.changes
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 14 16:40:23 UTC 2023 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add upstream patches
|
||||
* bash52-021
|
||||
There is an off-by-one error that causes command substitutions to fail when
|
||||
they appear in a word expansion inside a here-document.
|
||||
* bash52-020
|
||||
The parser did not allow `time' to appear as the first reserved word in a
|
||||
command substitution.
|
||||
* bash52-019
|
||||
There are some cases where the shell reaped a background (asynchronous) job
|
||||
and would incorrectly try to set the terminal's process group back to the
|
||||
shell's. In these cases it never set the terminal process group to that
|
||||
jobs's process group initially, so resetting it is incorrect.
|
||||
* bash52-018
|
||||
There are two problems with returning tokens to yyparse() when the shell
|
||||
encounters a syntax error or when it reads EOF.
|
||||
When reading a WORD token, the parser has to return the correct value to
|
||||
yyparse. Previous versions returned a value < 0, which the bash parser
|
||||
translated into YYERRCODE for bison, and in newer versions of bison, the
|
||||
appropriate reset actions didn't happen. We should return YYUNDEF, which
|
||||
bison uses for `invalid token'. Since we can return a token < 0 for both
|
||||
invalid tokens and EOF, the bash tokenizer needs to differentiate between
|
||||
those two cases.
|
||||
* bash52-017
|
||||
In certain cases, using the `.' builtin in a subshell would optimize away
|
||||
the rest of the commands in the subshell.
|
||||
* bash52-016
|
||||
If an expression in an arithmetic for loop expands to NULL, the shell
|
||||
would crash.
|
||||
- Correct offsets of patches
|
||||
* bash-4.3-sigrestart.patch
|
||||
* bash-5.2.dif
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 10:23:00 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||
|
||||
|
44
bash.spec
44
bash.spec
@ -256,31 +256,31 @@ for patch in ../bash-%{bversion}-patches/*-*[0-9]; do
|
||||
patch -s -p$level < $patch
|
||||
done
|
||||
set -x
|
||||
%patch1 -b .manual
|
||||
%patch3 -b .2.4.4
|
||||
%patch4 -b .evalexp
|
||||
%patch5 -b .warnlc
|
||||
%patch7 -b .decl
|
||||
%patch9 -b .unistd
|
||||
%patch10 -b .printf
|
||||
%patch11 -b .plugins
|
||||
%patch12 -b .completion
|
||||
%patch13 -b .nscdunmap
|
||||
%patch14 -b .sigrestart
|
||||
%patch16 -b .setlocale
|
||||
#%patch18 -p0 -b .winch
|
||||
%patch40 -b .bashrc
|
||||
%patch -P1 -b .manual
|
||||
%patch -P3 -b .2.4.4
|
||||
%patch -P4 -b .evalexp
|
||||
%patch -P5 -b .warnlc
|
||||
%patch -P7 -b .decl
|
||||
%patch -P9 -b .unistd
|
||||
%patch -P10 -b .printf
|
||||
%patch -P11 -b .plugins
|
||||
%patch -P12 -b .completion
|
||||
%patch -P13 -b .nscdunmap
|
||||
%patch -P14 -b .sigrestart
|
||||
%patch -P16 -b .setlocale
|
||||
#%patch -P18 -p0 -b .winch
|
||||
%patch -P40 -b .bashrc
|
||||
%if %{with sjis}
|
||||
%patch42 -b .sjis
|
||||
%patch -P42 -b .sjis
|
||||
%endif
|
||||
%patch46 -b .notimestamp
|
||||
%patch47 -b .perl522
|
||||
%patch -P46 -b .notimestamp
|
||||
%patch -P47 -b .perl522
|
||||
%if %{with import_function}
|
||||
%patch48 -b .eif
|
||||
%patch -P48 -b .eif
|
||||
%endif
|
||||
%patch49 -b .pthtmp
|
||||
%patch50 -b .qd
|
||||
%patch0
|
||||
%patch -P49 -b .pthtmp
|
||||
%patch -P50 -b .qd
|
||||
%patch -P0
|
||||
|
||||
# This has to be always the same version as included in the bash its self
|
||||
rl1=($(sed -rn '/RL_READLINE_VERSION/p' lib/readline/readline.h))
|
||||
@ -482,6 +482,8 @@ echo exit 0 > tests/read7.sub
|
||||
%if 0%{?do_profiling}
|
||||
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_generate}"
|
||||
%endif
|
||||
ulimit -Hv unlimited
|
||||
ulimit -v unlimited
|
||||
makeopts="Machine=${HOSTTYPE} OS=${OSTYPE} VENDOR=${VENDOR} MACHTYPE=${MACHTYPE}"
|
||||
%make_build $makeopts "$profilecflags" \
|
||||
all printenv recho zecho xcase
|
||||
|
Loading…
Reference in New Issue
Block a user