|
Karsten Hopp |
68f79c |
To: vim-dev@vim.org
|
|
Karsten Hopp |
68f79c |
Subject: Patch 7.1.206
|
|
Karsten Hopp |
68f79c |
Fcc: outbox
|
|
Karsten Hopp |
68f79c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
68f79c |
Mime-Version: 1.0
|
|
Karsten Hopp |
68f79c |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
68f79c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
68f79c |
------------
|
|
Karsten Hopp |
68f79c |
|
|
Karsten Hopp |
68f79c |
Patch 7.1.206
|
|
Karsten Hopp |
68f79c |
Problem: Compiler warnings when using MODIFIED_BY.
|
|
Karsten Hopp |
68f79c |
Solution: Add type casts. (Ben Schmidt)
|
|
Karsten Hopp |
68f79c |
Files: src/version.c
|
|
Karsten Hopp |
68f79c |
|
|
Karsten Hopp |
68f79c |
|
|
Karsten Hopp |
68f79c |
*** ../vim-7.1.205/src/version.c Sat Jan 5 13:34:01 2008
|
|
Karsten Hopp |
68f79c |
--- src/version.c Sat Jan 5 13:56:55 2008
|
|
Karsten Hopp |
68f79c |
***************
|
|
Karsten Hopp |
68f79c |
*** 1587,1595 ****
|
|
Karsten Hopp |
68f79c |
|
|
Karsten Hopp |
68f79c |
if (*mesg == ' ')
|
|
Karsten Hopp |
68f79c |
{
|
|
Karsten Hopp |
68f79c |
! vim_strncpy(modby, _("Modified by "), MODBY_LEN - 1);
|
|
Karsten Hopp |
68f79c |
l = STRLEN(modby);
|
|
Karsten Hopp |
68f79c |
! vim_strncpy(modby + l, MODIFIED_BY, MODBY_LEN - l - 1);
|
|
Karsten Hopp |
68f79c |
mesg = modby;
|
|
Karsten Hopp |
68f79c |
}
|
|
Karsten Hopp |
68f79c |
#endif
|
|
Karsten Hopp |
68f79c |
--- 1589,1597 ----
|
|
Karsten Hopp |
68f79c |
|
|
Karsten Hopp |
68f79c |
if (*mesg == ' ')
|
|
Karsten Hopp |
68f79c |
{
|
|
Karsten Hopp |
68f79c |
! vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1);
|
|
Karsten Hopp |
68f79c |
l = STRLEN(modby);
|
|
Karsten Hopp |
68f79c |
! vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1);
|
|
Karsten Hopp |
68f79c |
mesg = modby;
|
|
Karsten Hopp |
68f79c |
}
|
|
Karsten Hopp |
68f79c |
#endif
|
|
Karsten Hopp |
68f79c |
*** ../vim-7.1.205/src/version.c Sat Jan 5 13:34:01 2008
|
|
Karsten Hopp |
68f79c |
--- src/version.c Sat Jan 5 13:56:55 2008
|
|
Karsten Hopp |
68f79c |
***************
|
|
Karsten Hopp |
68f79c |
*** 668,669 ****
|
|
Karsten Hopp |
68f79c |
--- 668,671 ----
|
|
Karsten Hopp |
68f79c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
68f79c |
+ /**/
|
|
Karsten Hopp |
68f79c |
+ 206,
|
|
Karsten Hopp |
68f79c |
/**/
|
|
Karsten Hopp |
68f79c |
|
|
Karsten Hopp |
68f79c |
--
|
|
Karsten Hopp |
68f79c |
ARTHUR: I am your king!
|
|
Karsten Hopp |
68f79c |
WOMAN: Well, I didn't vote for you.
|
|
Karsten Hopp |
68f79c |
ARTHUR: You don't vote for kings.
|
|
Karsten Hopp |
68f79c |
WOMAN: Well, 'ow did you become king then?
|
|
Karsten Hopp |
68f79c |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
68f79c |
|
|
Karsten Hopp |
68f79c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
68f79c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
68f79c |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
68f79c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|