]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.041
- new
[packages/vim.git] / 7.3.041
CommitLineData
f5a1442d
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.041
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.041
11Problem: Compiler warning for accessing mediumVersion. (Tony Mechelynck)
12Solution: Use the pointer instead of the array itself. (Dominique Pelle)
13Files: src/version.c
14
15
16*** ../vim-7.3.040/src/version.c 2010-10-27 13:37:39.000000000 +0200
17--- src/version.c 2010-10-27 15:58:26.000000000 +0200
18***************
19*** 1342,1350 ****
20 if (highest_patch())
21 {
22 /* Check for 9.9x or 9.9xx, alpha/beta version */
23! if (isalpha((int)mediumVersion[3]))
24 {
25! if (isalpha((int)mediumVersion[4]))
26 sprintf((char *)vers + 5, ".%d%s", highest_patch(),
27 mediumVersion + 5);
28 else
29--- 1344,1352 ----
30 if (highest_patch())
31 {
32 /* Check for 9.9x or 9.9xx, alpha/beta version */
33! if (isalpha((int)vers[3]))
34 {
35! if (isalpha((int)vers[4]))
36 sprintf((char *)vers + 5, ".%d%s", highest_patch(),
37 mediumVersion + 5);
38 else
39*** ../vim-7.3.040/src/version.c 2010-10-27 13:37:39.000000000 +0200
40--- src/version.c 2010-10-27 15:58:26.000000000 +0200
41***************
42*** 716,717 ****
43--- 716,719 ----
44 { /* Add new patch number below this line */
45+ /**/
46+ 41,
47 /**/
48
49--
50ARTHUR: I command you as King of the Britons to stand aside!
51BLACK KNIGHT: I move for no man.
52 The Quest for the Holy Grail (Monty Python)
53
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56\\\ download, build and distribute -- http://www.A-A-P.org ///
57 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.034152 seconds and 4 git commands to generate.