|
Karsten Hopp |
f86442 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
f86442 |
Subject: Patch 7.3.464
|
|
Karsten Hopp |
f86442 |
Fcc: outbox
|
|
Karsten Hopp |
f86442 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
f86442 |
Mime-Version: 1.0
|
|
Karsten Hopp |
f86442 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
f86442 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
f86442 |
------------
|
|
Karsten Hopp |
f86442 |
|
|
Karsten Hopp |
f86442 |
Patch 7.3.464
|
|
Karsten Hopp |
f86442 |
Problem: Compiler warning for sprintf.
|
|
Karsten Hopp |
f86442 |
Solution: Put the length in a variable. (Dominique Pelle)
|
|
Karsten Hopp |
f86442 |
Files: src/version.c
|
|
Karsten Hopp |
f86442 |
|
|
Karsten Hopp |
f86442 |
|
|
Karsten Hopp |
f86442 |
*** ../vim-7.3.463/src/version.c 2012-03-07 14:57:50.000000000 +0100
|
|
Karsten Hopp |
f86442 |
--- src/version.c 2012-03-07 17:58:41.000000000 +0100
|
|
Karsten Hopp |
f86442 |
***************
|
|
Karsten Hopp |
f86442 |
*** 2187,2198 ****
|
|
Karsten Hopp |
f86442 |
/* Check for 9.9x or 9.9xx, alpha/beta version */
|
|
Karsten Hopp |
f86442 |
if (isalpha((int)vers[3]))
|
|
Karsten Hopp |
f86442 |
{
|
|
Karsten Hopp |
f86442 |
! if (isalpha((int)vers[4]))
|
|
Karsten Hopp |
f86442 |
! sprintf((char *)vers + 5, ".%d%s", highest_patch(),
|
|
Karsten Hopp |
f86442 |
! mediumVersion + 5);
|
|
Karsten Hopp |
f86442 |
! else
|
|
Karsten Hopp |
f86442 |
! sprintf((char *)vers + 4, ".%d%s", highest_patch(),
|
|
Karsten Hopp |
f86442 |
! mediumVersion + 4);
|
|
Karsten Hopp |
f86442 |
}
|
|
Karsten Hopp |
f86442 |
else
|
|
Karsten Hopp |
f86442 |
sprintf((char *)vers + 3, ".%d", highest_patch());
|
|
Karsten Hopp |
f86442 |
--- 2189,2197 ----
|
|
Karsten Hopp |
f86442 |
/* Check for 9.9x or 9.9xx, alpha/beta version */
|
|
Karsten Hopp |
f86442 |
if (isalpha((int)vers[3]))
|
|
Karsten Hopp |
f86442 |
{
|
|
Karsten Hopp |
f86442 |
! int len = (isalpha((int)vers[4])) ? 5 : 4;
|
|
Karsten Hopp |
f86442 |
! sprintf((char *)vers + len, ".%d%s", highest_patch(),
|
|
Karsten Hopp |
f86442 |
! mediumVersion + len);
|
|
Karsten Hopp |
f86442 |
}
|
|
Karsten Hopp |
f86442 |
else
|
|
Karsten Hopp |
f86442 |
sprintf((char *)vers + 3, ".%d", highest_patch());
|
|
Karsten Hopp |
f86442 |
*** ../vim-7.3.463/src/version.c 2012-03-07 14:57:50.000000000 +0100
|
|
Karsten Hopp |
f86442 |
--- src/version.c 2012-03-07 17:58:41.000000000 +0100
|
|
Karsten Hopp |
f86442 |
***************
|
|
Karsten Hopp |
f86442 |
*** 716,717 ****
|
|
Karsten Hopp |
f86442 |
--- 716,719 ----
|
|
Karsten Hopp |
f86442 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
f86442 |
+ /**/
|
|
Karsten Hopp |
f86442 |
+ 464,
|
|
Karsten Hopp |
f86442 |
/**/
|
|
Karsten Hopp |
f86442 |
|
|
Karsten Hopp |
f86442 |
--
|
|
Karsten Hopp |
f86442 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
f86442 |
152. You find yourself falling for someone you've never seen or hardly
|
|
Karsten Hopp |
f86442 |
know, but, boy can he/she TYPE!!!!!!
|
|
Karsten Hopp |
f86442 |
|
|
Karsten Hopp |
f86442 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
f86442 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
f86442 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
f86442 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|