|
|
3ef2ca |
To: vim_dev@googlegroups.com
|
|
|
3ef2ca |
Subject: Patch 7.4.506
|
|
|
3ef2ca |
Fcc: outbox
|
|
|
3ef2ca |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
3ef2ca |
Mime-Version: 1.0
|
|
|
3ef2ca |
Content-Type: text/plain; charset=UTF-8
|
|
|
3ef2ca |
Content-Transfer-Encoding: 8bit
|
|
|
3ef2ca |
------------
|
|
|
3ef2ca |
|
|
|
3ef2ca |
Patch 7.4.506
|
|
|
3ef2ca |
Problem: MS-Windows: Cannot open a file with 259 characters.
|
|
|
3ef2ca |
Solution: Fix off-by-one error. (Ken Takata)
|
|
|
3ef2ca |
Files: src/os_mswin.c
|
|
|
3ef2ca |
|
|
|
3ef2ca |
|
|
|
3ef2ca |
*** ../vim-7.4.505/src/os_mswin.c 2014-10-16 20:35:32.146264814 +0200
|
|
|
3ef2ca |
--- src/os_mswin.c 2014-11-05 19:32:59.748315256 +0100
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 411,417 ****
|
|
|
3ef2ca |
* - convert the result from UCS2 to 'encoding'.
|
|
|
3ef2ca |
*/
|
|
|
3ef2ca |
wname = enc_to_utf16(fname, NULL);
|
|
|
3ef2ca |
! if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH - 1) != NULL)
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
cname = utf16_to_enc((short_u *)wbuf, NULL);
|
|
|
3ef2ca |
if (cname != NULL)
|
|
|
3ef2ca |
--- 411,417 ----
|
|
|
3ef2ca |
* - convert the result from UCS2 to 'encoding'.
|
|
|
3ef2ca |
*/
|
|
|
3ef2ca |
wname = enc_to_utf16(fname, NULL);
|
|
|
3ef2ca |
! if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH) != NULL)
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
cname = utf16_to_enc((short_u *)wbuf, NULL);
|
|
|
3ef2ca |
if (cname != NULL)
|
|
|
3ef2ca |
*** ../vim-7.4.505/src/version.c 2014-11-05 18:35:59.104397681 +0100
|
|
|
3ef2ca |
--- src/version.c 2014-11-05 19:27:04.520323815 +0100
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 743,744 ****
|
|
|
3ef2ca |
--- 743,746 ----
|
|
|
3ef2ca |
{ /* Add new patch number below this line */
|
|
|
3ef2ca |
+ /**/
|
|
|
3ef2ca |
+ 506,
|
|
|
3ef2ca |
/**/
|
|
|
3ef2ca |
|
|
|
3ef2ca |
--
|
|
|
3ef2ca |
Trees moving back and forth is what makes the wind blow.
|
|
|
3ef2ca |
|
|
|
3ef2ca |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
3ef2ca |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
3ef2ca |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
3ef2ca |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|