Karsten Hopp 43c7a5
To: vim-dev@vim.org
Karsten Hopp 43c7a5
Subject: Patch 7.0.053
Karsten Hopp 43c7a5
Fcc: outbox
Karsten Hopp 43c7a5
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 43c7a5
Mime-Version: 1.0
Karsten Hopp 43c7a5
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 43c7a5
Content-Transfer-Encoding: 8bit
Karsten Hopp 43c7a5
------------
Karsten Hopp 43c7a5
Karsten Hopp 43c7a5
Patch 7.0.053
Karsten Hopp 43c7a5
Problem:    Shortening a directory name may fail when there are multi-byte
Karsten Hopp 43c7a5
	    characters.
Karsten Hopp 43c7a5
Solution:   Copy the correct bytes. (Titov Anatoly)
Karsten Hopp 43c7a5
Files:	    src/misc1.c
Karsten Hopp 43c7a5
Karsten Hopp 43c7a5
Karsten Hopp 43c7a5
*** ../vim-7.0.052/src/misc1.c	Sun Apr 30 20:49:14 2006
Karsten Hopp 43c7a5
--- src/misc1.c	Tue Aug  8 11:23:45 2006
Karsten Hopp 43c7a5
***************
Karsten Hopp 43c7a5
*** 4492,4498 ****
Karsten Hopp 43c7a5
  		int l = mb_ptr2len(s);
Karsten Hopp 43c7a5
  
Karsten Hopp 43c7a5
  		while (--l > 0)
Karsten Hopp 43c7a5
! 		    *d++ = *s++;
Karsten Hopp 43c7a5
  	    }
Karsten Hopp 43c7a5
  # endif
Karsten Hopp 43c7a5
  	}
Karsten Hopp 43c7a5
--- 4492,4498 ----
Karsten Hopp 43c7a5
  		int l = mb_ptr2len(s);
Karsten Hopp 43c7a5
  
Karsten Hopp 43c7a5
  		while (--l > 0)
Karsten Hopp 43c7a5
! 		    *d++ = *++s;
Karsten Hopp 43c7a5
  	    }
Karsten Hopp 43c7a5
  # endif
Karsten Hopp 43c7a5
  	}
Karsten Hopp 43c7a5
*** ../vim-7.0.052/src/version.c	Tue Aug 15 21:42:18 2006
Karsten Hopp 43c7a5
--- src/version.c	Tue Aug 15 22:23:44 2006
Karsten Hopp 43c7a5
***************
Karsten Hopp 43c7a5
*** 668,669 ****
Karsten Hopp 43c7a5
--- 668,671 ----
Karsten Hopp 43c7a5
  {   /* Add new patch number below this line */
Karsten Hopp 43c7a5
+ /**/
Karsten Hopp 43c7a5
+     53,
Karsten Hopp 43c7a5
  /**/
Karsten Hopp 43c7a5
Karsten Hopp 43c7a5
-- 
Karsten Hopp 43c7a5
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 43c7a5
150. You find yourself counting emoticons to get to sleep.
Karsten Hopp 43c7a5
Karsten Hopp 43c7a5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 43c7a5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 43c7a5
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 43c7a5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///