]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.041
- new
[packages/vim.git] / 7.3.041
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.041
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.041
11 Problem:    Compiler warning for accessing mediumVersion. (Tony Mechelynck)
12 Solution:   Use the pointer instead of the array itself. (Dominique Pelle)
13 Files:      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 -- 
50 ARTHUR:        I command you as King of the Britons to stand aside!
51 BLACK 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.035782 seconds and 3 git commands to generate.