]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.3 patch 11
authorChet Ramey <chet.ramey@case.edu>
Fri, 11 Apr 2014 15:05:31 +0000 (11:05 -0400)
committerChet Ramey <chet.ramey@case.edu>
Fri, 11 Apr 2014 15:05:31 +0000 (11:05 -0400)
lib/readline/display.c
patchlevel.h

index 913e0da0cf8497cc454fb3ce937aef298ab7de9e..dccfdc7eb2c4bf56a012900321ed5d62bd5589a7 100644 (file)
@@ -2677,7 +2677,8 @@ _rl_clean_up_for_exit ()
 {
   if (_rl_echoing_p)
     {
 {
   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);
       _rl_vis_botlin = 0;
       fflush (rl_outstream);
       rl_restart_output (1, 0);
index f95b837ca833a02c0855a00fcdc4a181139ea5e1..b7c2ff4c16724999ddcedec12ca853f412f67e0e 100644 (file)
@@ -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). */
 
    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_ */
 
 #endif /* _PATCHLEVEL_H_ */