|
Karsten Hopp |
e85f35 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
e85f35 |
Subject: Patch 7.2.046
|
|
Karsten Hopp |
e85f35 |
Fcc: outbox
|
|
Karsten Hopp |
e85f35 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e85f35 |
Mime-Version: 1.0
|
|
Karsten Hopp |
e85f35 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
e85f35 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e85f35 |
------------
|
|
Karsten Hopp |
e85f35 |
|
|
Karsten Hopp |
e85f35 |
Patch 7.2.046
|
|
Karsten Hopp |
e85f35 |
Problem: Wrong check for filling buffer with encoding. (Danek Duvall)
|
|
Karsten Hopp |
e85f35 |
Solution: Remove pointers. (Dominique Pelle)
|
|
Karsten Hopp |
e85f35 |
Files: src/mbyte.c
|
|
Karsten Hopp |
e85f35 |
|
|
Karsten Hopp |
e85f35 |
|
|
Karsten Hopp |
e85f35 |
*** ../vim-7.2.045/src/mbyte.c Wed Nov 12 13:07:48 2008
|
|
Karsten Hopp |
e85f35 |
--- src/mbyte.c Wed Nov 19 21:44:50 2008
|
|
Karsten Hopp |
e85f35 |
***************
|
|
Karsten Hopp |
e85f35 |
*** 3131,3137 ****
|
|
Karsten Hopp |
e85f35 |
else
|
|
Karsten Hopp |
e85f35 |
s = p + 1;
|
|
Karsten Hopp |
e85f35 |
}
|
|
Karsten Hopp |
e85f35 |
! for (i = 0; s[i] != NUL && s + i < buf + sizeof(buf) - 1; ++i)
|
|
Karsten Hopp |
e85f35 |
{
|
|
Karsten Hopp |
e85f35 |
if (s[i] == '_' || s[i] == '-')
|
|
Karsten Hopp |
e85f35 |
buf[i] = '-';
|
|
Karsten Hopp |
e85f35 |
--- 3131,3137 ----
|
|
Karsten Hopp |
e85f35 |
else
|
|
Karsten Hopp |
e85f35 |
s = p + 1;
|
|
Karsten Hopp |
e85f35 |
}
|
|
Karsten Hopp |
e85f35 |
! for (i = 0; s[i] != NUL && i < sizeof(buf) - 1; ++i)
|
|
Karsten Hopp |
e85f35 |
{
|
|
Karsten Hopp |
e85f35 |
if (s[i] == '_' || s[i] == '-')
|
|
Karsten Hopp |
e85f35 |
buf[i] = '-';
|
|
Karsten Hopp |
e85f35 |
*** ../vim-7.2.045/src/version.c Thu Nov 20 11:04:01 2008
|
|
Karsten Hopp |
e85f35 |
--- src/version.c Thu Nov 20 11:54:23 2008
|
|
Karsten Hopp |
e85f35 |
***************
|
|
Karsten Hopp |
e85f35 |
*** 678,679 ****
|
|
Karsten Hopp |
e85f35 |
--- 678,681 ----
|
|
Karsten Hopp |
e85f35 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e85f35 |
+ /**/
|
|
Karsten Hopp |
e85f35 |
+ 46,
|
|
Karsten Hopp |
e85f35 |
/**/
|
|
Karsten Hopp |
e85f35 |
|
|
Karsten Hopp |
e85f35 |
--
|
|
Karsten Hopp |
e85f35 |
He was not in the least bit scared to be mashed into a pulp
|
|
Karsten Hopp |
e85f35 |
Or to have his eyes gouged out and his elbows broken;
|
|
Karsten Hopp |
e85f35 |
To have his kneecaps split and his body burned away
|
|
Karsten Hopp |
e85f35 |
And his limbs all hacked and mangled, brave Sir Robin.
|
|
Karsten Hopp |
e85f35 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
e85f35 |
|
|
Karsten Hopp |
e85f35 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e85f35 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e85f35 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
e85f35 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|