mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 14:03:00 +02:00
- Update from 5.1.012 to 5.1.016
- Update of rootfile not required
- Changelog
Patch 013 - Bash did not always perform tilde expansion following an unquoted colon on
the rhs of an assignment statement in posix mode.
Patch 014 - Bash may produce corrupted input if a multibyte character spans a 512-byte
boundary while reading the output of a command substitution.
Patch 015 - There are some characters (e.g., cyrillic) that can't be displayed using
certain single-byte encodings (e.g., cp1251) because the negative signed
int is interpreted as EOF and not displayed.
Patch 016 - Multiple `!' tokens should toggle negation of an expression in a [[
conditional command, instead of simply negating the expression.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
65 lines
2.1 KiB
Plaintext
65 lines
2.1 KiB
Plaintext
BASH PATCH REPORT
|
|
=================
|
|
|
|
Bash-Release: 5.1
|
|
Patch-ID: bash51-016
|
|
|
|
Bug-Reported-by: Vincent Menegaux <vincent.menegaux@gmail.com>
|
|
Bug-Reference-ID:
|
|
Bug-Reference-URL: https://savannah.gnu.org/patch/?10070
|
|
|
|
Bug-Description:
|
|
|
|
Multiple `!' tokens should toggle negation of an expression in a [[
|
|
conditional command, instead of simply negating the expression.
|
|
|
|
Patch (apply with `patch -p0'):
|
|
|
|
*** ../bash-20210515/parse.y 2021-04-21 15:32:50.000000000 -0400
|
|
--- parse.y 2021-05-24 11:53:30.000000000 -0400
|
|
***************
|
|
*** 4797,4801 ****
|
|
term = cond_term ();
|
|
if (term)
|
|
! term->flags |= CMD_INVERT_RETURN;
|
|
}
|
|
else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
|
|
--- 4797,4801 ----
|
|
term = cond_term ();
|
|
if (term)
|
|
! term->flags ^= CMD_INVERT_RETURN;
|
|
}
|
|
else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
|
|
|
|
*** ../bash-20210515/y.tab.c 2021-05-14 15:50:41.000000000 -0400
|
|
--- y.tab.c 2021-05-24 16:35:55.000000000 -0400
|
|
***************
|
|
*** 7091,7095 ****
|
|
term = cond_term ();
|
|
if (term)
|
|
! term->flags |= CMD_INVERT_RETURN;
|
|
}
|
|
else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
|
|
--- 7091,7095 ----
|
|
term = cond_term ();
|
|
if (term)
|
|
! term->flags ^= CMD_INVERT_RETURN;
|
|
}
|
|
else if (tok == WORD && yylval.word->word[0] == '-' && yylval.word->word[1] && yylval.word->word[2] == 0 && test_unop (yylval.word->word))
|
|
|
|
*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400
|
|
--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400
|
|
***************
|
|
*** 26,30 ****
|
|
looks for to find the patch level (for the sccs version string). */
|
|
|
|
! #define PATCHLEVEL 15
|
|
|
|
#endif /* _PATCHLEVEL_H_ */
|
|
--- 26,30 ----
|
|
looks for to find the patch level (for the sccs version string). */
|
|
|
|
! #define PATCHLEVEL 16
|
|
|
|
#endif /* _PATCHLEVEL_H_ */
|