~ubuntu-branches/ubuntu/trusty/bash/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/rl-sigint-cleanup.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-04-16 23:22:21 UTC
  • mfrom: (2.1.26 sid)
  • Revision ID: package-import@ubuntu.com-20140416232221-z3qehuuf3sb2z6vq
Tags: 4.3-7ubuntu1
Merge with Debian, replacing local with upstream patches. LP: #1294669.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: b/display.c
2
 
===================================================================
3
 
--- a/lib/readline/display.c
4
 
+++ b/lib/readline/display.c
5
 
@@ -2677,7 +2677,8 @@
6
 
 {
7
 
   if (_rl_echoing_p)
8
 
     {
9
 
-      _rl_move_vert (_rl_vis_botlin);
10
 
+      if (_rl_vis_botlin > 0)  /* minor optimization plus bug fix */
11
 
+       _rl_move_vert (_rl_vis_botlin);
12
 
       _rl_vis_botlin = 0;
13
 
       fflush (rl_outstream);
14
 
       rl_restart_output (1, 0);