aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2014-04-11 11:05:31 -0400
committerChet Ramey <chet.ramey@case.edu>2014-04-11 11:05:31 -0400
commitb7ec1810367e42788ded6c2fb99db698bd26ccf1 (patch)
tree42cf8978735e907bf491b20ad772c4b87a6af2a0
parent2b76266c887cb74ce9d760d5762d2de44b82473a (diff)
downloadandroid_external_bash-b7ec1810367e42788ded6c2fb99db698bd26ccf1.tar.gz
android_external_bash-b7ec1810367e42788ded6c2fb99db698bd26ccf1.tar.bz2
android_external_bash-b7ec1810367e42788ded6c2fb99db698bd26ccf1.zip
Bash-4.3 patch 11
-rw-r--r--lib/readline/display.c3
-rw-r--r--patchlevel.h2
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_ */