From 1e1d161325379d9620e7a660016cfe9fe0cc3bd7 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 13 Feb 2020 11:14:08 +0000 Subject: [PATCH] Add upstream patches OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=306 --- bash-4.1-completion.dif | 2 +- bash-5.0-patches.tar.bz2 | 4 ++-- bash.changes | 21 +++++++++++++++++++++ bash.spec | 4 ++-- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/bash-4.1-completion.dif b/bash-4.1-completion.dif index 6912f0ab..9e89468b 100644 --- a/bash-4.1-completion.dif +++ b/bash-4.1-completion.dif @@ -4,7 +4,7 @@ --- bashline.c +++ bashline.c 2018-11-29 08:12:25.876588305 +0000 -@@ -2046,6 +2046,13 @@ globword: +@@ -2043,6 +2043,13 @@ globword: return ((char *)NULL); } diff --git a/bash-5.0-patches.tar.bz2 b/bash-5.0-patches.tar.bz2 index 5f3888ab..88634f3b 100644 --- a/bash-5.0-patches.tar.bz2 +++ b/bash-5.0-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d79e2089f5f7fa7aa1907a027d25a868d2833fcd401751796e9a5a393f0a203 -size 9670 +oid sha256:cfe5d600bc3c6166e5a781059825ae43a47d382494904996daa3e43691bdd6ae +size 11531 diff --git a/bash.changes b/bash.changes index 86f3e959..8daebeb7 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Feb 13 10:56:07 UTC 2020 - Dr. Werner Fink + +- Add official patch bash50-012 + When using previous-history to go back beyond the beginning of the history list, + it's possible to move to an incorrect partial line. +- Add official patch bash50-013 + Reading history entries with timestamps can result in history entries joined + by linefeeds. +- Add official patch bash50-014 + If the current line is empty, using the emacs C-xC-e binding to enter the + editor will edit the previous command instead of the current (empty) one. +- Add official patch bash50-015 + If alias expansion is enabled when processing the command argument to the + `-c' option, an alias is defined in that command, and the command ends with + the invocation of that alias, the shell's command parser can prematurely + terminate before the entire command is executed. +- Add official patch bash50-016 + Bash waits too long to reap /dev/fd process substitutions used as redirections + with loops and group commands, which can lead to file descriptor exhaustion. + ------------------------------------------------------------------- Wed Oct 16 12:49:36 UTC 2019 - Dr. Werner Fink diff --git a/bash.spec b/bash.spec index f51f4f31..9939680b 100644 --- a/bash.spec +++ b/bash.spec @@ -1,7 +1,7 @@ # # spec file for package bash # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,7 @@ License: GPL-3.0-or-later Group: System/Shells Suggests: command-not-found Suggests: bash-doc = %version -Url: http://www.gnu.org/software/bash/bash.html +URL: http://www.gnu.org/software/bash/bash.html # Git: http://git.savannah.gnu.org/cgit/bash.git Source0: ftp://ftp.gnu.org/gnu/bash/bash-%{bversion}%{bextend}.tar.gz Source1: bash-%{bversion}-patches.tar.bz2