[vim] - patchlevel 589

Karsten Hopp karsten at fedoraproject.org
Wed Jan 21 15:18:43 UTC 2015


commit 2694bd33bd0842dc2aa0154e597911387c34dd04
Author: Karsten Hopp <karsten at redhat.com>
Date:   Wed Jan 21 16:18:16 2015 +0100

    - patchlevel 589

 7.4.589 |   79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/7.4.589 b/7.4.589
new file mode 100644
index 0000000..f869902
--- /dev/null
+++ b/7.4.589
@@ -0,0 +1,79 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.4.589
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.4.589
+Problem:    In the MS-Windows console Vim can't handle greek characters when
+	    encoding is utf-8.
+Solution:   Escape K_NUL. (Yasuhiro Matsumoto)
+Files:	    src/os_win32.c
+
+
+*** ../vim-7.4.588/src/os_win32.c	2014-11-12 16:10:44.254085193 +0100
+--- src/os_win32.c	2015-01-20 19:36:59.725188180 +0100
+***************
+*** 1814,1831 ****
+  		if (conv)
+  		{
+  		    char_u *p = typeahead + typeaheadlen;
+- 		    char_u *e = typeahead + TYPEAHEADLEN;
+  
+! 		    while (*p && p < e)
+  		    {
+! 			if (*p == K_NUL)
+  			{
+  			    ++p;
+- 			    mch_memmove(p + 1, p, ((size_t)(e - p)) - 1);
+- 			    *p = 3;
+- 			    ++n;
+  			}
+- 			++p;
+  		    }
+  		}
+  
+--- 1814,1835 ----
+  		if (conv)
+  		{
+  		    char_u *p = typeahead + typeaheadlen;
+  
+! 		    if (*p != K_NUL)
+  		    {
+! 			char_u *e = typeahead + TYPEAHEADLEN;
+! 
+! 			while (*p && p < e)
+  			{
++ 			    if (*p == K_NUL)
++ 			    {
++ 				++p;
++ 				mch_memmove(p + 1, p, ((size_t)(e - p)) - 1);
++ 				*p = 3;
++ 				++n;
++ 			    }
+  			    ++p;
+  			}
+  		    }
+  		}
+  
+*** ../vim-7.4.588/src/version.c	2015-01-20 19:30:46.669275579 +0100
+--- src/version.c	2015-01-20 19:35:35.774107846 +0100
+***************
+*** 743,744 ****
+--- 743,746 ----
+  {   /* Add new patch number below this line */
++ /**/
++     589,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+95. Only communication in your household is through email.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\  an exciting new programming language -- http://www.Zimbu.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


More information about the scm-commits mailing list