]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.034
- typo
[packages/vim.git] / 7.1.034
CommitLineData
bfeb061a
AG
1To: vim-dev@vim.org
2Subject: patch 7.1.034
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.1.034
11Problem: Win64: A few compiler warnings. Problems with optimizer.
12Solution: Use int instead of size_t. Disable the optimizer in one function.
13 (George V. Reilly)
14Files: src/eval.c, src/spell.c
15
16
17*** ../vim-7.1.033/src/eval.c Tue Jul 17 16:31:15 2007
18--- src/eval.c Wed Jul 11 19:50:27 2007
19***************
20*** 992,1011 ****
21 char_u *value;
22 int value_len;
23 {
24! size_t len;
25
26 if (redir_lval == NULL)
27 return;
28
29 if (value_len == -1)
30! len = STRLEN(value); /* Append the entire string */
31 else
32! len = value_len; /* Append only "value_len" characters */
33
34! if (ga_grow(&redir_ga, (int)len) == OK)
35 {
36 mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
37! redir_ga.ga_len += (int)len;
38 }
39 else
40 var_redir_stop();
41--- 992,1011 ----
42 char_u *value;
43 int value_len;
44 {
45! int len;
46
47 if (redir_lval == NULL)
48 return;
49
50 if (value_len == -1)
51! len = (int)STRLEN(value); /* Append the entire string */
52 else
53! len = value_len; /* Append only "value_len" characters */
54
55! if (ga_grow(&redir_ga, len) == OK)
56 {
57 mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
58! redir_ga.ga_len += len;
59 }
60 else
61 var_redir_stop();
62*** ../vim-7.1.033/src/spell.c Thu May 10 18:45:53 2007
63--- src/spell.c Sat Jul 14 17:17:52 2007
64***************
65*** 7829,7835 ****
66 # if (_MSC_VER <= 1200)
67 /* This line is required for VC6 without the service pack. Also see the
68 * matching #pragma below. */
69! /* # pragma optimize("", off) */
70 # endif
71 #endif
72
73--- 7829,7835 ----
74 # if (_MSC_VER <= 1200)
75 /* This line is required for VC6 without the service pack. Also see the
76 * matching #pragma below. */
77! # pragma optimize("", off)
78 # endif
79 #endif
80
81***************
82*** 7859,7865 ****
83
84 #ifdef _MSC_VER
85 # if (_MSC_VER <= 1200)
86! /* # pragma optimize("", on) */
87 # endif
88 #endif
89
90--- 7859,7865 ----
91
92 #ifdef _MSC_VER
93 # if (_MSC_VER <= 1200)
94! # pragma optimize("", on)
95 # endif
96 #endif
97
98*** ../vim-7.1.033/src/version.c Tue Jul 24 09:50:22 2007
99--- src/version.c Tue Jul 24 09:47:17 2007
100***************
101*** 668,669 ****
102--- 668,671 ----
103 { /* Add new patch number below this line */
104+ /**/
105+ 34,
106 /**/
107
108--
109How To Keep A Healthy Level Of Insanity:
11017. When the money comes out the ATM, scream "I won!, I won! 3rd
111 time this week!!!!!"
112
113 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
114/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
115\\\ download, build and distribute -- http://www.A-A-P.org ///
116 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.126627 seconds and 4 git commands to generate.