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.1 / 7.1.138 < prev    next >
Encoding:
Internet Message Format  |  2007-11-19  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.1.138
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.1.138
  11. Problem:    The Perl Msg() function doesn't stop when "q" is typed at the more
  12.         prompt. (Hari Krishna Dara)
  13. Solution:   Check got_int.
  14. Files:        src/if_perl.xs
  15.  
  16.  
  17. *** ../vim-7.1.137/src/if_perl.xs    Sat Sep 15 14:48:57 2007
  18. --- src/if_perl.xs    Wed Oct  3 17:00:16 2007
  19. ***************
  20. *** 445,457 ****
  21.       char *next;
  22.       char *token = (char *)s;
  23.   
  24. !     while ((next = strchr(token, '\n')))
  25.       {
  26.       *next++ = '\0';            /* replace \n with \0 */
  27.       msg_attr((char_u *)token, attr);
  28.       token = next;
  29.       }
  30. !     if (*token)
  31.       msg_attr((char_u *)token, attr);
  32.   }
  33.   
  34. --- 445,457 ----
  35.       char *next;
  36.       char *token = (char *)s;
  37.   
  38. !     while ((next = strchr(token, '\n')) && !got_int)
  39.       {
  40.       *next++ = '\0';            /* replace \n with \0 */
  41.       msg_attr((char_u *)token, attr);
  42.       token = next;
  43.       }
  44. !     if (*token && !got_int)
  45.       msg_attr((char_u *)token, attr);
  46.   }
  47.   
  48. *** ../vim-7.1.137/src/version.c    Sun Oct  7 15:44:28 2007
  49. --- src/version.c    Tue Oct  9 10:45:08 2007
  50. ***************
  51. *** 668,669 ****
  52. --- 668,671 ----
  53.   {   /* Add new patch number below this line */
  54. + /**/
  55. +     138,
  56.   /**/
  57.  
  58. -- 
  59. A consultant is a person who takes your money and annoys your employees while
  60. tirelessly searching for the best way to extend the consulting contract.
  61.                 (Scott Adams - The Dilbert principle)
  62.  
  63.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  64. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  65. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  66.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  67.