Blame SOURCES/bash-4.4-patch-17.patch

9014c4
From b3a5ec8dd510a68dc850f3f516c0cf9afd87451f Mon Sep 17 00:00:00 2001
9014c4
From: Chet Ramey <chet.ramey@case.edu>
9014c4
Date: Mon, 29 Jan 2018 16:04:37 -0500
9014c4
Subject: [PATCH] Bash-4.4 patch 17
9014c4
9014c4
---
9014c4
 builtins/read.def | 5 +++++
9014c4
 patchlevel.h      | 2 +-
9014c4
 2 files changed, 6 insertions(+), 1 deletion(-)
9014c4
9014c4
diff --git a/builtins/read.def b/builtins/read.def
9014c4
index 33821f3f..803bea35 100644
9014c4
--- a/builtins/read.def
9014c4
+++ b/builtins/read.def
9014c4
@@ -690,6 +690,11 @@ add_char:
9014c4
   input_string[i] = '\0';
9014c4
   CHECK_ALRM;
9014c4
 
9014c4
+#if defined (READLINE)
9014c4
+  if (edit)
9014c4
+    free (rlbuf);
9014c4
+#endif
9014c4
+
9014c4
   if (retval < 0)
9014c4
     {
9014c4
       t_errno = errno;
9014c4
diff --git a/patchlevel.h b/patchlevel.h
9014c4
index 9074f4dd..98e714da 100644
9014c4
--- a/patchlevel.h
9014c4
+++ b/patchlevel.h
9014c4
@@ -25,6 +25,6 @@
9014c4
    regexp `^#define[ 	]*PATCHLEVEL', since that's what support/mkversion.sh
9014c4
    looks for to find the patch level (for the sccs version string). */
9014c4
 
9014c4
-#define PATCHLEVEL 16
9014c4
+#define PATCHLEVEL 17
9014c4
 
9014c4
 #endif /* _PATCHLEVEL_H_ */
9014c4
-- 
9014c4
2.13.6
9014c4