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.3 / 7.3.903 < prev    next >
Encoding:
Internet Message Format  |  2013-04-14  |  1.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.903
  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.3.903 (after 7.3.892)
  11. Problem:    Crash on exit writing viminfo. (Ron Aaron)
  12. Solution:   Check for the history to be empty.
  13. Files:        src/ex_getln.c
  14.  
  15.  
  16. *** ../vim-7.3.902/src/ex_getln.c    2013-04-14 23:19:32.000000000 +0200
  17. --- src/ex_getln.c    2013-04-15 16:13:56.000000000 +0200
  18. ***************
  19. *** 6216,6222 ****
  20.        */
  21.       for (round = 1; round <= 2; ++round)
  22.       {
  23. !         i = round == 1 ? hisidx[type] : 0;
  24.           if (i >= 0)
  25.           while (num_saved > 0
  26.               && !(round == 2 && i >= viminfo_hisidx[type]))
  27. --- 6216,6230 ----
  28.        */
  29.       for (round = 1; round <= 2; ++round)
  30.       {
  31. !         if (round == 1)
  32. !         /* start at newest entry, somewhere in the list */
  33. !         i = hisidx[type];
  34. !         else if (viminfo_hisidx[type] > 0)
  35. !         /* start at newest entry, first in the list */
  36. !         i = 0;
  37. !         else
  38. !         /* empty list */
  39. !         i = -1;
  40.           if (i >= 0)
  41.           while (num_saved > 0
  42.               && !(round == 2 && i >= viminfo_hisidx[type]))
  43. *** ../vim-7.3.902/src/version.c    2013-04-15 15:55:15.000000000 +0200
  44. --- src/version.c    2013-04-15 16:11:08.000000000 +0200
  45. ***************
  46. *** 730,731 ****
  47. --- 730,733 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     903,
  51.   /**/
  52.  
  53. -- 
  54. hundred-and-one symptoms of being an internet addict:
  55. 176. You lie, even to user-friends, about how long you were online yesterday.
  56.  
  57.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  58. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  59. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  60.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  61.