r216 - in trunk/vim: debian upstream/patches

Norbert Tretkowski nobse@costa.debian.org
Fri, 20 May 2005 18:42:14 +0000


Author: nobse
Date: 2005-05-20 18:42:13 +0000 (Fri, 20 May 2005)
New Revision: 216

Added:
   trunk/vim/upstream/patches/6.3.072
Modified:
   trunk/vim/debian/README
   trunk/vim/debian/changelog
Log:
6.3.072


Modified: trunk/vim/debian/README
===================================================================
--- trunk/vim/debian/README	2005-05-20 16:54:09 UTC (rev 215)
+++ trunk/vim/debian/README	2005-05-20 18:42:13 UTC (rev 216)
@@ -96,3 +96,4 @@
   1710  6.3.069  when converting text with illegal characters Vim may crash
   1928  6.3.070  crash when 'number' set and with a vertical split
   1722  6.3.071  CTRL-X message sticks after error for completion
+  2083  6.3.072  crash for substitute message when using UTF-8 and Chinese

Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog	2005-05-20 16:54:09 UTC (rev 215)
+++ trunk/vim/debian/changelog	2005-05-20 18:42:13 UTC (rev 216)
@@ -1,5 +1,7 @@
-vim (1:6.3-071+3) unstable; urgency=low
+vim (1:6.3-072+1) unstable; urgency=low
 
+  * New upstream patch (072), see README.gz for details.
+
   * James Vega <jamessan@jamessan.com>
     + Updated patch 125_gzip.vim.diff to match upstream's vim7 patch.
       Removed compression detection for FileAppendPre since there's no good
@@ -8,7 +10,7 @@
       filetype when editing lua scripts.  The patch also enables recognition
       of "#!/usr/bin/env xxx" hashbang lines.  (closes: #309859)
 
- -- Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>  Fri, 20 May 2005 10:10:45 -0400
+ -- Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>  Fri, 20 May 2005 20:41:35 +0200
 
 vim (1:6.3-071+2) unstable; urgency=low
 

Added: trunk/vim/upstream/patches/6.3.072
===================================================================
--- trunk/vim/upstream/patches/6.3.072	2005-05-20 16:54:09 UTC (rev 215)
+++ trunk/vim/upstream/patches/6.3.072	2005-05-20 18:42:13 UTC (rev 216)
@@ -0,0 +1,58 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.072
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.3.072
+Problem:    Crash in giving substitute message when language is Chinese and
+	    encoding is utf-8. (Yongwei)
+Solution:   Make the msg_buf size larger when using multi-byte.
+Files:	    src/vim.h
+
+
+*** ../vim-6.3.017/src/vim.h	Sun Dec  5 16:18:46 2004
+--- src/vim.h	Sun May 15 17:16:06 2005
+***************
+*** 1155,1161 ****
+  #define LSIZE	    512		/* max. size of a line in the tags file */
+  
+  #define IOSIZE	   (1024+1)	/* file i/o and sprintf buffer size */
+! #define MSG_BUF_LEN 80		/* length of buffer for small messages */
+  
+  #if defined(AMIGA) || defined(__linux__) || defined(__QNX__) || defined(__CYGWIN32__) || defined(_AIX)
+  # define TBUFSZ 2048		/* buffer size for termcap entry */
+--- 1155,1166 ----
+  #define LSIZE	    512		/* max. size of a line in the tags file */
+  
+  #define IOSIZE	   (1024+1)	/* file i/o and sprintf buffer size */
+! 
+! #ifdef FEAT_MBYTE
+! # define MSG_BUF_LEN 240	/* length of buffer for small messages */
+! #else
+! # define MSG_BUF_LEN 80		/* length of buffer for small messages */
+! #endif
+  
+  #if defined(AMIGA) || defined(__linux__) || defined(__QNX__) || defined(__CYGWIN32__) || defined(_AIX)
+  # define TBUFSZ 2048		/* buffer size for termcap entry */
+*** ../vim-6.3.017/src/version.c	Mon Apr 11 11:52:17 2005
+--- src/version.c	Fri May 20 13:18:16 2005
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     72,
+  /**/
+
+-- 
+Females are strictly forbidden to appear unshaven in public.
+		[real standing law in New Mexico, United States of America]
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///