[vim] - patchlevel 506

Karsten Hopp karsten at fedoraproject.org
Thu Nov 6 16:56:52 UTC 2014


commit 27c1b032573d9ef1ffa337cebbcd58ba6f2b51f0
Author: Karsten Hopp <karsten at redhat.com>
Date:   Thu Nov 6 18:00:11 2014 +0100

    - patchlevel 506

 7.4.506 |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/7.4.506 b/7.4.506
new file mode 100644
index 0000000..d55aaba
--- /dev/null
+++ b/7.4.506
@@ -0,0 +1,51 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.4.506
+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.506
+Problem:    MS-Windows: Cannot open a file with 259 characters.
+Solution:   Fix off-by-one error. (Ken Takata)
+Files:	    src/os_mswin.c
+
+
+*** ../vim-7.4.505/src/os_mswin.c	2014-10-16 20:35:32.146264814 +0200
+--- src/os_mswin.c	2014-11-05 19:32:59.748315256 +0100
+***************
+*** 411,417 ****
+  	     * - convert the result from UCS2 to 'encoding'.
+  	     */
+  	    wname = enc_to_utf16(fname, NULL);
+! 	    if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH - 1) != NULL)
+  	    {
+  		cname = utf16_to_enc((short_u *)wbuf, NULL);
+  		if (cname != NULL)
+--- 411,417 ----
+  	     * - convert the result from UCS2 to 'encoding'.
+  	     */
+  	    wname = enc_to_utf16(fname, NULL);
+! 	    if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH) != NULL)
+  	    {
+  		cname = utf16_to_enc((short_u *)wbuf, NULL);
+  		if (cname != NULL)
+*** ../vim-7.4.505/src/version.c	2014-11-05 18:35:59.104397681 +0100
+--- src/version.c	2014-11-05 19:27:04.520323815 +0100
+***************
+*** 743,744 ****
+--- 743,746 ----
+  {   /* Add new patch number below this line */
++ /**/
++     506,
+  /**/
+
+-- 
+Trees moving back and forth is what makes the wind blow.
+
+ /// 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