summaryrefslogtreecommitdiffstats
path: root/source/l/readline
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-08-14 22:19:44 +0000
committer Eric Hameleers <alien@slackware.com>2019-08-15 08:59:44 +0200
commit056f3dae0cea2adce7f128155d1031a9f7c9c1dd (patch)
treea8e60442c65e1d7d439ae03fd02533613b8e0f8e /source/l/readline
parentc9d989088a97c123fd0d3a6819538b242763a91f (diff)
downloadcurrent-056f3dae0cea2adce7f128155d1031a9f7c9c1dd.tar.gz
current-056f3dae0cea2adce7f128155d1031a9f7c9c1dd.tar.xz
Wed Aug 14 22:19:44 UTC 201920190814221944
d/python-setuptools-41.1.0-x86_64-1.txz: Upgraded. l/harfbuzz-2.6.0-x86_64-1.txz: Upgraded. l/readline-8.0.001-x86_64-1.txz: Upgraded. n/nghttp2-1.39.2-x86_64-1.txz: Upgraded. xap/mozilla-firefox-68.0.2esr-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/security/known-vulnerabilities/firefoxESR.html https://www.mozilla.org/en-US/firefox/68.0.2esr/releasenotes/ (* Security fix *) xfce/Thunar-1.8.9-x86_64-1.txz: Upgraded. xfce/tumbler-0.2.7-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/readline')
-rw-r--r--source/l/readline/readline-8.0-patches/readline80-00138
-rwxr-xr-xsource/l/readline/readline.SlackBuild2
2 files changed, 39 insertions, 1 deletions
diff --git a/source/l/readline/readline-8.0-patches/readline80-001 b/source/l/readline/readline-8.0-patches/readline80-001
new file mode 100644
index 000000000..aa72a9dfa
--- /dev/null
+++ b/source/l/readline/readline-8.0-patches/readline80-001
@@ -0,0 +1,38 @@
+ READLINE PATCH REPORT
+ =====================
+
+Readline-Release: 8.0
+Patch-ID: readline80-001
+
+Bug-Reported-by: chet.ramey@case.edu
+Bug-Reference-ID:
+Bug-Reference-URL:
+
+Bug-Description:
+
+The history file reading code doesn't close the file descriptor open to
+the history file when it encounters a zero-length file.
+
+Patch (apply with `patch -p0'):
+
+*** ../readline-8.0-patched/histfile.c 2018-06-11 09:14:52.000000000 -0400
+--- histfile.c 2019-05-16 15:55:57.000000000 -0400
+***************
+*** 306,309 ****
+--- 312,316 ----
+ {
+ free (input);
++ close (file);
+ return 0; /* don't waste time if we don't have to */
+ }
+*** ../readline-8.0/patchlevel 2013-11-15 08:11:11.000000000 -0500
+--- patchlevel 2014-03-21 08:28:40.000000000 -0400
+***************
+*** 1,3 ****
+ # Do not edit -- exists only for use by patch
+
+! 0
+--- 1,3 ----
+ # Do not edit -- exists only for use by patch
+
+! 1
diff --git a/source/l/readline/readline.SlackBuild b/source/l/readline/readline.SlackBuild
index 670b44f4b..ca1303626 100755
--- a/source/l/readline/readline.SlackBuild
+++ b/source/l/readline/readline.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=readline
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then