]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.178
- new
[packages/vim.git] / 7.0.178
CommitLineData
c84df032
ER
1To: vim-dev@vim.org
2Subject: patch 7.0.178
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.178
11Problem: When 'enc' is "utf-8" and 'ignorecase' is set the result of ":echo
12 ("\xe4" == "\xe4")" varies.
13Solution: In mb_strnicmp() avoid looking past NUL bytes.
14Files: src/mbyte.c
15
16
17*** ../vim-7.0.177/src/mbyte.c Wed Nov 1 18:10:36 2006
18--- src/mbyte.c Tue Dec 5 22:04:34 2006
19***************
20*** 2294,2301 ****
21--- 2294,2307 ----
22 }
23 /* Check directly first, it's faster. */
24 for (j = 0; j < l; ++j)
25+ {
26 if (s1[i + j] != s2[i + j])
27 break;
28+ if (s1[i + j] == 0)
29+ /* Both stings have the same bytes but are incomplete or
30+ * have illegal bytes, accept them as equal. */
31+ l = j;
32+ }
33 if (j < l)
34 {
35 /* If one of the two characters is incomplete return -1. */
36*** ../vim-7.0.177/src/version.c Tue Dec 5 21:45:20 2006
37--- src/version.c Tue Dec 5 22:08:08 2006
38***************
39*** 668,669 ****
40--- 668,671 ----
41 { /* Add new patch number below this line */
42+ /**/
43+ 178,
44 /**/
45
46--
47Trees moving back and forth is what makes the wind blow.
48
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51\\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.028332 seconds and 4 git commands to generate.