Karsten Hopp 4beb5c
To: vim_dev@googlegroups.com
Karsten Hopp 4beb5c
Subject: Patch 7.4.877
Karsten Hopp 4beb5c
Fcc: outbox
Karsten Hopp 4beb5c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 4beb5c
Mime-Version: 1.0
Karsten Hopp 4beb5c
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 4beb5c
Content-Transfer-Encoding: 8bit
Karsten Hopp 4beb5c
------------
Karsten Hopp 4beb5c
Karsten Hopp 4beb5c
Patch 7.4.877 (after 7.4.843)
Karsten Hopp 4beb5c
Problem:    ":find" sometimes fails. (Excanoe)
Karsten Hopp 4beb5c
Solution:   Compare current characters instead of previous ones.
Karsten Hopp 4beb5c
Files:      src/misc2.c
Karsten Hopp 4beb5c
Karsten Hopp 4beb5c
Karsten Hopp 4beb5c
*** ../vim-7.4.876/src/misc2.c	2015-09-15 15:57:22.815879940 +0200
Karsten Hopp 4beb5c
--- src/misc2.c	2015-09-25 16:31:54.883481435 +0200
Karsten Hopp 4beb5c
***************
Karsten Hopp 4beb5c
*** 5084,5090 ****
Karsten Hopp 4beb5c
          i += MB_PTR2LEN(s1 + i);
Karsten Hopp 4beb5c
          j += MB_PTR2LEN(s2 + j);
Karsten Hopp 4beb5c
      }
Karsten Hopp 4beb5c
!     return c1 == c2;
Karsten Hopp 4beb5c
  }
Karsten Hopp 4beb5c
  #endif
Karsten Hopp 4beb5c
  
Karsten Hopp 4beb5c
--- 5084,5090 ----
Karsten Hopp 4beb5c
          i += MB_PTR2LEN(s1 + i);
Karsten Hopp 4beb5c
          j += MB_PTR2LEN(s2 + j);
Karsten Hopp 4beb5c
      }
Karsten Hopp 4beb5c
!     return s1[i] == s2[j];
Karsten Hopp 4beb5c
  }
Karsten Hopp 4beb5c
  #endif
Karsten Hopp 4beb5c
  
Karsten Hopp 4beb5c
*** ../vim-7.4.876/src/version.c	2015-09-25 15:28:32.744126036 +0200
Karsten Hopp 4beb5c
--- src/version.c	2015-09-25 16:35:44.085077423 +0200
Karsten Hopp 4beb5c
***************
Karsten Hopp 4beb5c
*** 743,744 ****
Karsten Hopp 4beb5c
--- 743,746 ----
Karsten Hopp 4beb5c
  {   /* Add new patch number below this line */
Karsten Hopp 4beb5c
+ /**/
Karsten Hopp 4beb5c
+     877,
Karsten Hopp 4beb5c
  /**/
Karsten Hopp 4beb5c
Karsten Hopp 4beb5c
Karsten Hopp 4beb5c
-- 
Karsten Hopp 4beb5c
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 4beb5c
6. You refuse to go to a vacation spot with no electricity and no phone lines.
Karsten Hopp 4beb5c
Karsten Hopp 4beb5c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 4beb5c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 4beb5c
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 4beb5c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///