Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] bash: update to 5.0.018.
@ 2020-07-24 17:47 ericonr
  0 siblings, 0 replies; only message in thread
From: ericonr @ 2020-07-24 17:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

There is a new pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages bash
https://github.com/void-linux/void-packages/pull/23815

bash: update to 5.0.018.


A patch file from https://github.com/void-linux/void-packages/pull/23815.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bash-23815.patch --]
[-- Type: text/x-diff, Size: 2280 bytes --]

From fea055998dc5a029b7b0bd823f9143c788373751 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Fri, 24 Jul 2020 14:46:45 -0300
Subject: [PATCH] bash: update to 5.0.018.

---
 srcpkgs/bash/files/bash50-018 | 45 +++++++++++++++++++++++++++++++++++
 srcpkgs/bash/template         |  2 +-
 2 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/bash/files/bash50-018

diff --git a/srcpkgs/bash/files/bash50-018 b/srcpkgs/bash/files/bash50-018
new file mode 100644
index 00000000000..6f1b1c7ca3f
--- /dev/null
+++ b/srcpkgs/bash/files/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_ */
diff --git a/srcpkgs/bash/template b/srcpkgs/bash/template
index 91e2e4c1ca3..a34eaa167c2 100644
--- a/srcpkgs/bash/template
+++ b/srcpkgs/bash/template
@@ -1,7 +1,7 @@
 # Template file for 'bash'
 pkgname=bash
 _bash_distver=5.0
-_bash_patchlevel=017
+_bash_patchlevel=018
 version="${_bash_distver}.${_bash_patchlevel}"
 revision=1
 wrksrc="${pkgname}-${_bash_distver}"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-24 17:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-24 17:47 [PR PATCH] bash: update to 5.0.018 ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).