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 / 7.4 / 7.4.506 < prev    next >
Encoding:
Internet Message Format  |  2014-11-05  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.506
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.506
  11. Problem:    MS-Windows: Cannot open a file with 259 characters.
  12. Solution:   Fix off-by-one error. (Ken Takata)
  13. Files:        src/os_mswin.c
  14.  
  15.  
  16. *** ../vim-7.4.505/src/os_mswin.c    2014-10-16 20:35:32.146264814 +0200
  17. --- src/os_mswin.c    2014-11-05 19:32:59.748315256 +0100
  18. ***************
  19. *** 411,417 ****
  20.            * - convert the result from UCS2 to 'encoding'.
  21.            */
  22.           wname = enc_to_utf16(fname, NULL);
  23. !         if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH - 1) != NULL)
  24.           {
  25.           cname = utf16_to_enc((short_u *)wbuf, NULL);
  26.           if (cname != NULL)
  27. --- 411,417 ----
  28.            * - convert the result from UCS2 to 'encoding'.
  29.            */
  30.           wname = enc_to_utf16(fname, NULL);
  31. !         if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH) != NULL)
  32.           {
  33.           cname = utf16_to_enc((short_u *)wbuf, NULL);
  34.           if (cname != NULL)
  35. *** ../vim-7.4.505/src/version.c    2014-11-05 18:35:59.104397681 +0100
  36. --- src/version.c    2014-11-05 19:27:04.520323815 +0100
  37. ***************
  38. *** 743,744 ****
  39. --- 743,746 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     506,
  43.   /**/
  44.  
  45. -- 
  46. Trees moving back and forth is what makes the wind blow.
  47.  
  48.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  49. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  50. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  51.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  52.