- 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
- Add upstream patches
* bash52-001
Expanding unset arrays in an arithmetic context can cause a
segmentation fault.
* bash52-002
Starting bash with an invalid locale specification for
LC_ALL/LANG/LC_CTYPE can cause the shell to crash.
- Do not run checks in parallel as it eats memory, a lot of memory
- Disable alternate array implementation as it eats a lot of memory
- Update to final bash 5.2
a. When replacing a history entry, make sure the existing entry has a non-NULL
timestamp before copying it; it may have been added by the application, not
the history library.
- Modernize run-tests
- add checks
- Enable parallel builds by splitting clean and all at make time
- Update to bash 5.2 rc4
Pos. aa is now enabled by default.
m. Readline now checks for changes to locale settings (LC_ALL/LC_CTYPE/LANG)
each time it is called, and modifies the appropriate locale-specific display
- Port patches
* bash-2.03-manual.patch
* bash-5.2.dif
- Update to bash 5.2 rc2
gg. Since there is no `declare -' equivalent of `local -', make sure to use
OBS-URL: https://build.opensuse.org/request/show/1008386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=180
- Enable parallel builds by slpitting clean and all at make time
(Thanks to Christopher Yeleighton)
- Do not copy more than 1 byte for \(aq becoming a "'" in
quotes-man2html.patch
- Small change in quotes-man2html.patch
* Use a simple "'" aka quote instead of "′" for "\(aq"
- Add patch quotes-man2html.patch
* Fix boo#1203091 -- BASH(1) Manual Page: Unprocessed macro aq
OBS-URL: https://build.opensuse.org/request/show/1004899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=179