From b7ec1810367e42788ded6c2fb99db698bd26ccf1 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Fri, 11 Apr 2014 11:05:31 -0400 Subject: [PATCH] Bash-4.3 patch 11 --- lib/readline/display.c | 3 ++- patchlevel.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/readline/display.c b/lib/readline/display.c index 913e0da..dccfdc7 100644 --- a/lib/readline/display.c +++ b/lib/readline/display.c @@ -2677,7 +2677,8 @@ _rl_clean_up_for_exit () { if (_rl_echoing_p) { - _rl_move_vert (_rl_vis_botlin); + if (_rl_vis_botlin > 0) /* minor optimization plus bug fix */ + _rl_move_vert (_rl_vis_botlin); _rl_vis_botlin = 0; fflush (rl_outstream); rl_restart_output (1, 0); diff --git a/patchlevel.h b/patchlevel.h index f95b837..b7c2ff4 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 10 +#define PATCHLEVEL 11 #endif /* _PATCHLEVEL_H_ */ -- 2.7.4