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.522 < prev    next >
Encoding:
Internet Message Format  |  2014-11-19  |  1.5 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.522
  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.522
  11. Problem:    Specifying wrong buffer size for GetLongPathName().
  12. Solution:   Use the actual size. (Ken Takata)
  13. Files:        src/eval.c
  14.  
  15.  
  16. *** ../vim-7.4.521/src/eval.c    2014-11-12 20:09:02.875529458 +0100
  17. --- src/eval.c    2014-11-19 18:01:14.560028682 +0100
  18. ***************
  19. *** 24762,24768 ****
  20.           p = alloc(_MAX_PATH + 1);
  21.           if (p != NULL)
  22.           {
  23. !         if (GetLongPathName(*fnamep, p, MAXPATHL))
  24.           {
  25.               vim_free(*bufp);
  26.               *bufp = *fnamep = p;
  27. --- 24762,24768 ----
  28.           p = alloc(_MAX_PATH + 1);
  29.           if (p != NULL)
  30.           {
  31. !         if (GetLongPathName(*fnamep, p, _MAX_PATH))
  32.           {
  33.               vim_free(*bufp);
  34.               *bufp = *fnamep = p;
  35. *** ../vim-7.4.521/src/version.c    2014-11-19 17:35:35.085446649 +0100
  36. --- src/version.c    2014-11-19 18:02:02.003491140 +0100
  37. ***************
  38. *** 743,744 ****
  39. --- 743,746 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     522,
  43.   /**/
  44.  
  45. -- 
  46. Every person is responsible for the choices he makes.
  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.