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.2 / 7.2.046 < prev    next >
Encoding:
Internet Message Format  |  2008-11-19  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.2.046
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.2.046
  11. Problem:    Wrong check for filling buffer with encoding. (Danek Duvall)
  12. Solution:   Remove pointers. (Dominique Pelle)
  13. Files:        src/mbyte.c
  14.  
  15.  
  16. *** ../vim-7.2.045/src/mbyte.c    Wed Nov 12 13:07:48 2008
  17. --- src/mbyte.c    Wed Nov 19 21:44:50 2008
  18. ***************
  19. *** 3131,3137 ****
  20.       else
  21.           s = p + 1;
  22.       }
  23. !     for (i = 0; s[i] != NUL && s + i < buf + sizeof(buf) - 1; ++i)
  24.       {
  25.       if (s[i] == '_' || s[i] == '-')
  26.           buf[i] = '-';
  27. --- 3131,3137 ----
  28.       else
  29.           s = p + 1;
  30.       }
  31. !     for (i = 0; s[i] != NUL && i < sizeof(buf) - 1; ++i)
  32.       {
  33.       if (s[i] == '_' || s[i] == '-')
  34.           buf[i] = '-';
  35. *** ../vim-7.2.045/src/version.c    Thu Nov 20 11:04:01 2008
  36. --- src/version.c    Thu Nov 20 11:54:23 2008
  37. ***************
  38. *** 678,679 ****
  39. --- 678,681 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     46,
  43.   /**/
  44.  
  45. -- 
  46.        He was not in the least bit scared to be mashed into a pulp
  47.        Or to have his eyes gouged out and his elbows broken;
  48.        To have his kneecaps split and his body burned away
  49.        And his limbs all hacked and mangled, brave Sir Robin.
  50.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  51.  
  52.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  53. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  54. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  55.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  56.