home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.468 < prev    next >
Encoding:
Internet Message Format  |  2014-10-09  |  1.7 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.468
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.468
  11. Problem:    Issue 26: CTRL-C does not interrupt after it was mapped and then
  12.         unmapped.
  13. Solution:   Reset mapped_ctrl_c. (Christian Brabandt)
  14. Files:        src/getchar.c
  15.  
  16.  
  17. *** ../vim-7.4.467/src/getchar.c    2014-07-30 16:00:45.539553496 +0200
  18. --- src/getchar.c    2014-10-09 13:34:09.988888496 +0200
  19. ***************
  20. *** 3707,3712 ****
  21. --- 3707,3715 ----
  22.       {
  23.       if (!did_it)
  24.           retval = 2;                /* no match */
  25. +     else if (*keys == Ctrl_C)
  26. +         /* If CTRL-C has been unmapped, reuse it for Interrupting. */
  27. +         mapped_ctrl_c = FALSE;
  28.       goto theend;
  29.       }
  30.   
  31. ***************
  32. *** 3739,3745 ****
  33.       goto theend;
  34.       }
  35.   
  36. !     /* If CTRL-C has been mapped, don't always use it for Interrupting */
  37.       if (*keys == Ctrl_C)
  38.       mapped_ctrl_c = TRUE;
  39.   
  40. --- 3742,3748 ----
  41.       goto theend;
  42.       }
  43.   
  44. !     /* If CTRL-C has been mapped, don't always use it for Interrupting. */
  45.       if (*keys == Ctrl_C)
  46.       mapped_ctrl_c = TRUE;
  47.   
  48. *** ../vim-7.4.467/src/version.c    2014-10-09 13:22:41.808886993 +0200
  49. --- src/version.c    2014-10-09 13:29:56.252887942 +0200
  50. ***************
  51. *** 743,744 ****
  52. --- 743,746 ----
  53.   {   /* Add new patch number below this line */
  54. + /**/
  55. +     468,
  56.   /**/
  57.  
  58. -- 
  59. Marriage isn't a word.  It's a sentence.
  60.  
  61.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  62. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  63. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  64.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  65.