]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.206
- updated to 7.1.285
[packages/vim.git] / 7.1.206
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.206
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.206
11 Problem:    Compiler warnings when using MODIFIED_BY.
12 Solution:   Add type casts. (Ben Schmidt)
13 Files:      src/version.c
14
15
16 *** ../vim-7.1.205/src/version.c        Sat Jan  5 13:34:01 2008
17 --- src/version.c       Sat Jan  5 13:56:55 2008
18 ***************
19 *** 1587,1595 ****
20   
21       if (*mesg == ' ')
22       {
23 !       vim_strncpy(modby, _("Modified by "), MODBY_LEN - 1);
24         l = STRLEN(modby);
25 !       vim_strncpy(modby + l, MODIFIED_BY, MODBY_LEN - l - 1);
26         mesg = modby;
27       }
28   #endif
29 --- 1589,1597 ----
30   
31       if (*mesg == ' ')
32       {
33 !       vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1);
34         l = STRLEN(modby);
35 !       vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1);
36         mesg = modby;
37       }
38   #endif
39 *** ../vim-7.1.205/src/version.c        Sat Jan  5 13:34:01 2008
40 --- src/version.c       Sat Jan  5 13:56:55 2008
41 ***************
42 *** 668,669 ****
43 --- 668,671 ----
44   {   /* Add new patch number below this line */
45 + /**/
46 +     206,
47   /**/
48
49 -- 
50 ARTHUR:  I am your king!
51 WOMAN:   Well, I didn't vote for you.
52 ARTHUR:  You don't vote for kings.
53 WOMAN:   Well, 'ow did you become king then?
54                                   The Quest for the Holy Grail (Monty Python)
55
56  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
57 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
58 \\\        download, build and distribute -- http://www.A-A-P.org        ///
59  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.030666 seconds and 3 git commands to generate.