- Take refreshed source tar ball with uptodate (g)po files
- Refresh (g)po files as well due our patches
- Add upstream patches
* bash53-001
In posix mode, `wait -n' with pid arguments does not restrict the set of
processes it considers to those arguments.
* bash53-002
There are too many differences in the various implementations of shm_open(2)
to rely on it for bash's use.
* bash53-003
Bash leaves internal quoting in place when expanding array subscripts
that appear inside array subscripts in an arithmetic context, causing
expansion failures.
- The package bash-loadables supplements a specific bash version
- Update to bash 5.3
a. When checking whether a script file argument is a binary file, check the
first two lines of a script if the first line begins with `#!'.
b. Bash does a better job of preserving user-supplied quotes around a word
completion, instead of requoting it.
c. Bash reports the starting line number in an error message about an
unterminated compound command like `if' without a `fi'.
d. Implement the POSIX requirement that running the `jobs' builtin removes
jobs from the jobs list.
f. Call bash signal handlers while executing programmable completion commands,
instead of readline's.
g. Print an error message if a regular expression used with [[ fails to compile.
h. The `umask' builtin now has additional features for full POSIX conformance.
OBS-URL: https://build.opensuse.org/request/show/1296985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=200
- Add upstream patches
* bash52-037
Fix the case where text to be completed from the line buffer (quoted) is
compared to the common prefix of the possible matches (unquoted) and the
quoting makes the former appear to be longer than the latter. Readline
assumes the match doesn't add any characters to the word and doesn't display
multiple matches.
* bash52-036
When readline is accumulating bytes until it reads a complete multibyte
character, reading a byte that makes the multibyte character invalid can
result in discarding the bytes in the partial character.
* bash52-035
There are systems that supply one of select or pselect, but not both.
* bash52-034
If we parse a compound assignment during an alias expansion, it's possible
to have the current input string popped out from underneath the parse. In
this case, we should not restore the input we were using when we began to
parse the compound assignment.
* bash52-033
A typo in the autoconf test for strtold causes false negatives for strtold
being available and working when compiled with gcc-14.
- Port patch bash-3.2-printf.patch to fit change in bash52-033
OBS-URL: https://build.opensuse.org/request/show/1203319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=193
- Add upstream patches
* bash52-027
The configure test for the presence of strtoimax(3) is inverted.
* bash52-028
A DEBUG trap in an asynchronous process can steal the controlling terminal
away from the calling shell, causing it to exit.
* bash52-030
`wait -n' can fail to return some jobs if they exit due to signals the shell
does not report to the user.
* bash52-031
There is a memory leak in the code that implements the optimized $(<file)
expansion for some code paths.
* bash52-032
When printing functions containing coprocesses, the displayed coproc command
has the word COPROC inserted unconditionally, resulting in function bodies
that cannot be re-read as input.
OBS-URL: https://build.opensuse.org/request/show/1194674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=192
- Add upstream patches
* bash52-022
It's possible for readline to try to zero out a line that's not
null-terminated, leading to a memory fault.
* bash52-023
Running `local -' multiple times in a shell function would
overwrite the original saved set of options.
* bash52-024
Fix bug where associative array compound assignment would not
expand tildes in values.
* bash52-025
Make sure a subshell checks for and handles any terminating
signals before exiting (which might have arrived after the
command completed) so the parent and any EXIT trap will see
the correct value for $?.
OBS-URL: https://build.opensuse.org/request/show/1139152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=189
- Declare token YYEOF to be able to support older bison versions
as well
- Be sure to have a usable bison installed at build time
- 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.
OBS-URL: https://build.opensuse.org/request/show/1126551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=188
- Add upstream patches
* bash52-013
Bash can leak memory when referencing a non-existent associative
array element.
* bash52-014
Bash defers processing additional terminating signals when running
the EXIT trap while exiting due to a terminating signal. This
patch allows the new terminating signal to kill the shell immediately.
* bash52-015
There are several cases where bash is too aggressive when optimizing
out forks in subshells. For example, `eval' and traps should never
be optimized.
OBS-URL: https://build.opensuse.org/request/show/1043053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=186
- Add upstream patches
* bash52-010
Bash-5.2 checks the first 128 characters of an executable file that execve()
refuses to execute to see whether it's a binary file before trying to
execute it as a shell script. This defeats some previously-supported use
cases like "self-executing" jar files or "self-uncompressing" scripts.
* bash52-011
Using timeouts and readline editing with the `read' builtin (read -e -t) can
leave the readline timeout enabled, potentially resulting in an erroneous
timeout on the next call.
* bash52-012
When running in bash compatibility mode, nested command substitutions can
leave the `extglob' option enabled.
OBS-URL: https://build.opensuse.org/request/show/1038668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=185
- Add upstream patches
* bash52-003
Command substitutions need to preserve newlines instead of replacing them
with semicolons, especially in the presence of multiple here-documents.
* bash52-004
Bash needs to keep better track of nested brace expansions to avoid problems
with quoting and POSIX semantics.
* bash52-005
Null pattern substitution replacement strings can cause a crash.
* bash52-006
In interactive shells, interrupting the shell while entering a command
substitution can inhibit alias expansion.
* bash52-007
This patch fixes several problems with alias expansion inside command
substitutions when in POSIX mode.
* bash52-008
Array subscript expansion can inappropriately quote brackets if the expression
contains < or >.
* bash52-009
Bash arithmetic expansion should allow `@' and `*' to be used as associative
array keys in expressions.
OBS-URL: https://build.opensuse.org/request/show/1035012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=184