[vim/f17: 5/44] - patchlevel 518

Karsten Hopp karsten at fedoraproject.org
Mon Jun 18 09:09:43 UTC 2012


commit a468f727c912fdfe77f17fe03d6ebfdb66891d74
Author: Karsten Hopp <karsten at redhat.com>
Date:   Mon Jun 18 11:08:51 2012 +0200

    - patchlevel 518

 7.3.518 |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/7.3.518 b/7.3.518
new file mode 100644
index 0000000..89429f0
--- /dev/null
+++ b/7.3.518
@@ -0,0 +1,57 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.518
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.518
+Problem:    When 'encoding' is a double-byte encoding ":helptags" may not find
+	    tags correctly.
+Solution:   Use vim_strbyte() instead of vim_strchr(). (Yasuhiro Matsumoto)
+Files:	    src/ex_cmds.c
+
+
+*** ../vim-7.3.517/src/ex_cmds.c	2012-04-25 17:32:14.000000000 +0200
+--- src/ex_cmds.c	2012-05-18 16:20:20.000000000 +0200
+***************
+*** 6535,6541 ****
+  	    p1 = vim_strchr(IObuff, '*');	/* find first '*' */
+  	    while (p1 != NULL)
+  	    {
+! 		p2 = vim_strchr(p1 + 1, '*');	/* find second '*' */
+  		if (p2 != NULL && p2 > p1 + 1)	/* skip "*" and "**" */
+  		{
+  		    for (s = p1 + 1; s < p2; ++s)
+--- 6535,6544 ----
+  	    p1 = vim_strchr(IObuff, '*');	/* find first '*' */
+  	    while (p1 != NULL)
+  	    {
+! 		/* Use vim_strbyte() instead of vim_strchr() so that when
+! 		 * 'encoding' is dbcs it still works, don't find '*' in the
+! 		 * second byte. */
+! 		p2 = vim_strbyte(p1 + 1, '*');	/* find second '*' */
+  		if (p2 != NULL && p2 > p1 + 1)	/* skip "*" and "**" */
+  		{
+  		    for (s = p1 + 1; s < p2; ++s)
+*** ../vim-7.3.517/src/version.c	2012-05-18 12:49:33.000000000 +0200
+--- src/version.c	2012-05-18 16:23:50.000000000 +0200
+***************
+*** 716,717 ****
+--- 716,719 ----
+  {   /* Add new patch number below this line */
++ /**/
++     518,
+  /**/
+
+-- 
+If all you have is a hammer, everything looks like a nail.
+When your hammer is C++, everything begins to look like a thumb.
+			-- Steve Hoflich, comp.lang.c++
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\  an exciting new programming language -- http://www.Zimbu.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


More information about the scm-commits mailing list