Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bash for openSUSE:Factory checked in at 2022-01-25 17:35:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bash (Old) and /work/SRC/openSUSE:Factory/.bash.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bash" Tue Jan 25 17:35:35 2022 rev:175 rq:947929 version:5.1.MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/bash/bash.changes 2021-12-06 23:59:51.204464416 +0100 +++ /work/SRC/openSUSE:Factory/.bash.new.1938/bash.changes 2022-01-25 17:35:36.426525678 +0100 @@ -1,0 +2,18 @@ +Fri Jan 14 11:57:21 UTC 2022 - Dr. Werner Fink <wer...@suse.de> + +- Update bash 5.1 to patch level 16 + * Add official patch bash51-013 + Bash did not always perform tilde expansion following an unquoted colon on + the rhs of an assignment statement in posix mode. + * Add official patch bash51-014 + Bash may produce corrupted input if a multibyte character spans a 512-byte + boundary while reading the output of a command substitution. + * Add official patch bash51-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. + * Add official patch bash51-016 + Multiple `!' tokens should toggle negation of an expression in a [[ + conditional command, instead of simply negating the expression. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash.spec ++++++ --- /var/tmp/diff_new_pack.nKMhHh/_old 2022-01-25 17:35:37.598517607 +0100 +++ /var/tmp/diff_new_pack.nKMhHh/_new 2022-01-25 17:35:37.602517579 +0100 @@ -1,7 +1,7 @@ # # spec file for package bash # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ bash-5.1-patches.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-009 new/bash-5.1-patches/bash51-009 --- old/bash-5.1-patches/bash51-009 2021-11-17 22:33:10.000000000 +0100 +++ new/bash-5.1-patches/bash51-009 2021-11-18 11:34:29.745568013 +0100 @@ -16,7 +16,7 @@ Patch (apply with `patch -p0'): -*** ../bash-5.1-patched/lib/malloc/malloc.c 2020-07-08 10:19:30.000000000 -0400 +*** lib/malloc/malloc.c 2020-07-08 10:19:30.000000000 -0400 --- lib/malloc/malloc.c 2021-10-05 16:10:55.000000000 -0400 *************** *** 1287,1297 **** @@ -42,7 +42,7 @@ ! return (p->mh_nbytes); } -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 +*** patchlevel.h 2020-06-22 14:51:03.000000000 -0400 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400 *************** *** 26,30 **** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-010 new/bash-5.1-patches/bash51-010 --- old/bash-5.1-patches/bash51-010 2021-11-17 22:33:21.000000000 +0100 +++ new/bash-5.1-patches/bash51-010 2021-11-18 11:34:29.757567800 +0100 @@ -16,7 +16,7 @@ Patch (apply with `patch -p0'): -*** ../bash-5.1-patched/builtins/wait.def 2020-12-16 17:13:12.000000000 -0500 +*** builtins/wait.def 2020-12-16 17:13:12.000000000 -0500 --- builtins/wait.def 2021-11-17 10:25:15.000000000 -0500 *************** *** 112,116 **** @@ -42,7 +42,7 @@ WAIT_RETURN (status); } -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 +*** patchlevel.h 2020-06-22 14:51:03.000000000 -0400 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400 *************** *** 26,30 **** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-011 new/bash-5.1-patches/bash51-011 --- old/bash-5.1-patches/bash51-011 2021-11-17 22:33:30.000000000 +0100 +++ new/bash-5.1-patches/bash51-011 2021-11-18 11:34:29.769567586 +0100 @@ -16,7 +16,7 @@ Patch (apply with `patch -p0'): -*** ../bash-5.1-patched/parse.y 2020-11-28 12:10:06.000000000 -0500 +*** parse.y 2020-11-28 12:10:06.000000000 -0500 --- parse.y 2021-10-13 11:04:27.000000000 -0400 *************** *** 6494,6501 **** @@ -40,7 +40,7 @@ #if defined (HISTORY) --- 6530,6535 ---- -*** ../bash-5.1-patched/y.tab.c 2020-11-28 12:17:19.000000000 -0500 +*** y.tab.c 2020-11-28 12:17:19.000000000 -0500 --- y.tab.c 2021-11-17 10:47:35.000000000 -0500 *************** *** 8788,8795 **** @@ -64,7 +64,7 @@ #if defined (HISTORY) --- 8813,8818 ---- -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 +*** patchlevel.h 2020-06-22 14:51:03.000000000 -0400 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400 *************** *** 26,30 **** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-012 new/bash-5.1-patches/bash51-012 --- old/bash-5.1-patches/bash51-012 2021-11-17 22:33:40.000000000 +0100 +++ new/bash-5.1-patches/bash51-012 2021-11-18 11:34:29.785567300 +0100 @@ -181,7 +181,7 @@ if ((sig >= NSIG) || (trap_list[sig] == (char *)DEFAULT_SIG) || -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 +*** patchlevel.h 2020-06-22 14:51:03.000000000 -0400 --- patchlevel.h 2020-10-01 11:01:28.000000000 -0400 *************** *** 26,30 **** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-013 new/bash-5.1-patches/bash51-013 --- old/bash-5.1-patches/bash51-013 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-5.1-patches/bash51-013 2022-01-04 22:47:27.000000000 +0100 @@ -0,0 +1,43 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 5.1 +Patch-ID: bash51-013 + +Bug-Reported-by: Anders Kaseorg <ande...@mit.edu> +Bug-Reference-ID: <de65540274064d7b95f17e9c46a3a...@oc11expo7.exchange.mit.edu> +Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2021-11/msg00025.html + +Bug-Description: + +Bash did not always perform tilde expansion following an unquoted colon on +the rhs of an assignment statement in posix mode. + +Patch (apply with `patch -p0'): + +*** ../bash-20211028/subst.c 2021-10-18 16:09:58.000000000 -0400 +--- subst.c 2021-11-30 11:19:47.000000000 -0500 +*************** +*** 3826,3829 **** +--- 3826,3830 ---- + td.flags = W_ASSIGNRHS; + #endif ++ td.flags |= (W_NOGLOB|W_TILDEEXP); + td.word = savestring (string); + value = call_expand_word_internal (&td, quoted, 0, (int *)NULL, (int *)NULL); + +*** ../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 12 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 13 + + #endif /* _PATCHLEVEL_H_ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-014 new/bash-5.1-patches/bash51-014 --- old/bash-5.1-patches/bash51-014 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-5.1-patches/bash51-014 2022-01-04 22:47:39.000000000 +0100 @@ -0,0 +1,48 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 5.1 +Patch-ID: bash51-014 + +Bug-Reported-by: platon7pro...@gmail.com +Bug-Reference-ID: +Bug-Reference-URL: https://savannah.gnu.org/patch/?10035 + +Bug-Description: + +Bash may produce corrupted input if a multibyte character spans a 512-byte +boundary while reading the output of a command substitution. + +Patch (apply with `patch -p0'): + +*** ../bash-20210217/subst.c 2021-02-03 10:32:08.000000000 -0500 +--- subst.c 2021-03-01 16:47:52.000000000 -0500 +*************** +*** 6243,6247 **** + /* punt on the hard case for now */ + memset (&ps, '\0', sizeof (mbstate_t)); +! mblen = mbrtowc (&wc, bufp-1, bufn+1, &ps); + if (MB_INVALIDCH (mblen) || mblen == 0 || mblen == 1) + istring[istring_index++] = c; +--- 6243,6247 ---- + /* punt on the hard case for now */ + memset (&ps, '\0', sizeof (mbstate_t)); +! mblen = mbrtowc (&wc, bufp-1, bufn, &ps); + if (MB_INVALIDCH (mblen) || mblen == 0 || mblen == 1) + istring[istring_index++] = c; + +*** ../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 13 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 14 + + #endif /* _PATCHLEVEL_H_ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-015 new/bash-5.1-patches/bash51-015 --- old/bash-5.1-patches/bash51-015 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-5.1-patches/bash51-015 2022-01-04 22:47:54.000000000 +0100 @@ -0,0 +1,49 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 5.1 +Patch-ID: bash51-015 + +Bug-Reported-by: Volodymyr Prodan <vov...@gmail.com> +Bug-Reference-ID: +Bug-Reference-URL: https://savannah.gnu.org/patch/?10076 + +Bug-Description: + +Patch (apply with `patch -p0'): + +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. + +*** ../bash-20210524/lib/readline/display.c 2021-03-16 18:12:20.000000000 -0400 +--- lib/readline/display.c 2021-06-07 16:53:08.000000000 -0400 +*************** +*** 1599,1603 **** + + for (cur_face = FACE_NORMAL, i = 0; i < n; i++) +! putc_face (str[i], face[i], &cur_face); + putc_face (EOF, FACE_NORMAL, &cur_face); + } +--- 1599,1603 ---- + + for (cur_face = FACE_NORMAL, i = 0; i < n; i++) +! putc_face ((unsigned char) str[i], face[i], &cur_face); + putc_face (EOF, FACE_NORMAL, &cur_face); + } + +*** ../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 14 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 15 + + #endif /* _PATCHLEVEL_H_ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bash-5.1-patches/bash51-016 new/bash-5.1-patches/bash51-016 --- old/bash-5.1-patches/bash51-016 1970-01-01 01:00:00.000000000 +0100 +++ new/bash-5.1-patches/bash51-016 2022-01-04 22:48:15.000000000 +0100 @@ -0,0 +1,64 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 5.1 +Patch-ID: bash51-016 + +Bug-Reported-by: Vincent Menegaux <vincent.meneg...@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_ */