summaryrefslogtreecommitdiffstats
path: root/source/a/bash/bash-5.0-patches/bash50-018
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-07-11 18:57:11 +0000
committer Eric Hameleers <alien@slackware.com>2020-07-12 08:59:51 +0200
commit054448fcd15cc2919dd15f4bdd984d21b97ee3a3 (patch)
treea395c961a1ed53db8882a0da77776185d63aad1a /source/a/bash/bash-5.0-patches/bash50-018
parent029a4153be83a82427442aec44f88eb355d9c584 (diff)
downloadcurrent-054448fcd15cc2919dd15f4bdd984d21b97ee3a3.tar.gz
current-054448fcd15cc2919dd15f4bdd984d21b97ee3a3.tar.xz
Sat Jul 11 18:57:11 UTC 202020200711185711
a/bash-5.0.018-x86_64-1.txz: Upgraded. d/python-setuptools-49.1.2-x86_64-1.txz: Upgraded. l/ffmpeg-4.3.1-x86_64-1.txz: Upgraded. xap/audacious-4.0.5-x86_64-1.txz: Upgraded. xap/audacious-plugins-4.0.5-x86_64-1.txz: Upgraded. extra/pure-alsa-system/audacious-plugins-4.0.5-x86_64-1_alsa.txz: Upgraded. extra/pure-alsa-system/ffmpeg-4.3.1-x86_64-1_alsa.txz: Upgraded.
Diffstat (limited to 'source/a/bash/bash-5.0-patches/bash50-018')
-rw-r--r--source/a/bash/bash-5.0-patches/bash50-01845
1 files changed, 45 insertions, 0 deletions
diff --git a/source/a/bash/bash-5.0-patches/bash50-018 b/source/a/bash/bash-5.0-patches/bash50-018
new file mode 100644
index 000000000..6f1b1c7ca
--- /dev/null
+++ b/source/a/bash/bash-5.0-patches/bash50-018
@@ -0,0 +1,45 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 5.0
+Patch-ID: bash50-018
+
+Bug-Reported-by: oguzismailuysal@gmail.com
+Bug-Reference-ID:
+Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2019-10/msg00098.html
+
+Bug-Description:
+
+In certain cases, bash does not perform quoted null removal on patterns
+that are used as part of word expansions such as ${parameter##pattern}, so
+empty patterns are treated as non-empty.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-5.0.17/subst.c 2020-04-02 17:14:58.000000000 -0400
+--- subst.c 2020-07-09 15:28:19.000000000 -0400
+***************
+*** 5113,5116 ****
+--- 5113,5118 ----
+ (int *)NULL, (int *)NULL)
+ : (WORD_LIST *)0;
++ if (l)
++ word_list_remove_quoted_nulls (l);
+ pat = string_list (l);
+ dispose_words (l);
+
+*** ../bash-5.0/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
+--- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 17
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 18
+
+ #endif /* _PATCHLEVEL_H_ */