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 / old / 5.4.43 < prev    next >
Encoding:
Internet Message Format  |  1999-08-20  |  3.0 KB

  1. To: "Christian J. Robinson" <infynity@cyberhighway.net>
  2. Cc: Vim Developers List <vim-dev@vim.org>
  3. Subject: patch 5.4.43 (was: (Oops.) Problem with Patch 5.4.37 ??)
  4. In-Reply-To: <Pine.LNX.4.10.9908211019300.16928-100000@draken.localnet>
  5. Fcc: outbox
  6. From: Bram Moolenaar <Bram@moolenaar.net>
  7. ------------
  8.  
  9. Christian J. Robinson wrote:
  10.  
  11. > With this patch applied, I get the following errors when I exit vim:
  12. > viminfo: Illegal starting char in line: ^Ido^@
  13. > viminfo: Illegal starting char in line: ^Itouch $i^@
  14.  
  15. Sorry, my fault.
  16.  
  17. > The interesting thing is, when vim first set this in the .viminfo file, it
  18. > didn't complain.  It was only after I'd started vim again then exited that
  19. > it complained.
  20.  
  21. It only happens when skipping over the lines to find the file marks.  This
  22. means the lines aren't actually inspected, and the long lines are not ingored
  23. as they should.
  24.  
  25.  
  26. Patch 5.4.43 (depends on 5.4.37)
  27. Problem:    Mixing long lines with multiple lines in a register causes errors
  28.         when writing the viminfo file. (Robinson)
  29. Solution:   When reading the viminfo file to skip register contents, skip
  30.         lines that start with "<".
  31. Files:        src/ops.c
  32.  
  33.  
  34. *** ../vim-5.4.42/src/ops.c    Fri Aug 20 11:21:13 1999
  35. --- src/ops.c    Sat Aug 21 21:41:51 1999
  36. ***************
  37. *** 3938,3944 ****
  38.       else
  39.           y_current->y_type = MLINE;
  40.       }
  41. !     while (!(eof = vim_fgets(line, LSIZE, fp)) && line[0] == TAB)
  42.       {
  43.       if (do_it)
  44.       {
  45. --- 3938,3945 ----
  46.       else
  47.           y_current->y_type = MLINE;
  48.       }
  49. !     while (!(eof = vim_fgets(line, LSIZE, fp))
  50. !                     && (line[0] == TAB || line[0] == '<'))
  51.       {
  52.       if (do_it)
  53.       {
  54. *** ../vim-5.4.42/src/version.h    Sat Aug 21 21:50:41 1999
  55. --- src/version.h    Sat Aug 21 21:50:24 1999
  56. ***************
  57. *** 19,26 ****
  58.   #define VIM_VERSION_MINOR_STR        "4"
  59.   #define VIM_VERSION_BUILD         57
  60.   #define VIM_VERSION_BUILD_STR        "57"
  61. ! #define VIM_VERSION_PATCHLEVEL         42
  62. ! #define VIM_VERSION_PATCHLEVEL_STR    "42"
  63.   
  64.   /*
  65.    * VIM_VERSION_NODOT is used for the runtime directory name.
  66. --- 19,26 ----
  67.   #define VIM_VERSION_MINOR_STR        "4"
  68.   #define VIM_VERSION_BUILD         57
  69.   #define VIM_VERSION_BUILD_STR        "57"
  70. ! #define VIM_VERSION_PATCHLEVEL         43
  71. ! #define VIM_VERSION_PATCHLEVEL_STR    "43"
  72.   
  73.   /*
  74.    * VIM_VERSION_NODOT is used for the runtime directory name.
  75. ***************
  76. *** 30,35 ****
  77.    */
  78.   #define VIM_VERSION_NODOT    "vim54"
  79.   #define VIM_VERSION_SHORT    "5.4"
  80. ! #define VIM_VERSION_MEDIUM    "5.4.42"
  81. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.42 (1999 Aug 21)"
  82. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.42 (1999 Aug 21, compiled "
  83. --- 30,35 ----
  84.    */
  85.   #define VIM_VERSION_NODOT    "vim54"
  86.   #define VIM_VERSION_SHORT    "5.4"
  87. ! #define VIM_VERSION_MEDIUM    "5.4.43"
  88. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.43 (1999 Aug 21)"
  89. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.43 (1999 Aug 21, compiled "
  90.  
  91. --
  92. hundred-and-one symptoms of being an internet addict:
  93. 180. You maintain more than six e-mail addresses.
  94.  
  95. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  96.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  97.