|
Karsten Hopp |
e725db |
To: vim-dev@vim.org
|
|
Karsten Hopp |
e725db |
Subject: Patch 7.2.254
|
|
Karsten Hopp |
e725db |
Fcc: outbox
|
|
Karsten Hopp |
e725db |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e725db |
Mime-Version: 1.0
|
|
Karsten Hopp |
e725db |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e725db |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e725db |
------------
|
|
Karsten Hopp |
e725db |
|
|
Karsten Hopp |
e725db |
Patch 7.2.254
|
|
Karsten Hopp |
e725db |
Problem: Compiler warning for assigning size_t to int.
|
|
Karsten Hopp |
e725db |
Solution: Use size_t for the variable. (George Reilly)
|
|
Karsten Hopp |
e725db |
Files: src/fileio.c
|
|
Karsten Hopp |
e725db |
|
|
Karsten Hopp |
e725db |
|
|
Karsten Hopp |
e725db |
*** ../vim-7.2.253/src/fileio.c 2009-07-29 18:24:59.000000000 +0200
|
|
Karsten Hopp |
e725db |
--- src/fileio.c 2009-09-11 13:46:19.000000000 +0200
|
|
Karsten Hopp |
e725db |
***************
|
|
Karsten Hopp |
e725db |
*** 4568,4574 ****
|
|
Karsten Hopp |
e725db |
c = TRUE;
|
|
Karsten Hopp |
e725db |
if (write_info.bw_conv_error_lnum != 0)
|
|
Karsten Hopp |
e725db |
{
|
|
Karsten Hopp |
e725db |
! int l = STRLEN(IObuff);
|
|
Karsten Hopp |
e725db |
vim_snprintf((char *)IObuff + l, IOSIZE - l, _(" in line %ld;"),
|
|
Karsten Hopp |
e725db |
(long)write_info.bw_conv_error_lnum);
|
|
Karsten Hopp |
e725db |
}
|
|
Karsten Hopp |
e725db |
--- 4568,4574 ----
|
|
Karsten Hopp |
e725db |
c = TRUE;
|
|
Karsten Hopp |
e725db |
if (write_info.bw_conv_error_lnum != 0)
|
|
Karsten Hopp |
e725db |
{
|
|
Karsten Hopp |
e725db |
! size_t l = STRLEN(IObuff);
|
|
Karsten Hopp |
e725db |
vim_snprintf((char *)IObuff + l, IOSIZE - l, _(" in line %ld;"),
|
|
Karsten Hopp |
e725db |
(long)write_info.bw_conv_error_lnum);
|
|
Karsten Hopp |
e725db |
}
|
|
Karsten Hopp |
e725db |
*** ../vim-7.2.253/src/version.c 2009-09-11 14:19:41.000000000 +0200
|
|
Karsten Hopp |
e725db |
--- src/version.c 2009-09-11 15:03:42.000000000 +0200
|
|
Karsten Hopp |
e725db |
***************
|
|
Karsten Hopp |
e725db |
*** 678,679 ****
|
|
Karsten Hopp |
e725db |
--- 678,681 ----
|
|
Karsten Hopp |
e725db |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e725db |
+ /**/
|
|
Karsten Hopp |
e725db |
+ 254,
|
|
Karsten Hopp |
e725db |
/**/
|
|
Karsten Hopp |
e725db |
|
|
Karsten Hopp |
e725db |
--
|
|
Karsten Hopp |
e725db |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
e725db |
230. You spend your Friday nights typing away at your keyboard
|
|
Karsten Hopp |
e725db |
|
|
Karsten Hopp |
e725db |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e725db |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e725db |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
e725db |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|