|
Karsten Hopp |
0519cb |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0519cb |
Subject: Patch 7.0.118
|
|
Karsten Hopp |
0519cb |
Fcc: outbox
|
|
Karsten Hopp |
0519cb |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0519cb |
Mime-Version: 1.0
|
|
Karsten Hopp |
0519cb |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
0519cb |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0519cb |
------------
|
|
Karsten Hopp |
0519cb |
|
|
Karsten Hopp |
0519cb |
Patch 7.0.118
|
|
Karsten Hopp |
0519cb |
Problem: printf() does not do zero padding for strings.
|
|
Karsten Hopp |
0519cb |
Solution: Do allow zero padding for strings.
|
|
Karsten Hopp |
0519cb |
Files: src/message.c
|
|
Karsten Hopp |
0519cb |
|
|
Karsten Hopp |
0519cb |
|
|
Karsten Hopp |
0519cb |
*** ../vim-7.0.117/src/message.c Sun Sep 3 16:39:51 2006
|
|
Karsten Hopp |
0519cb |
--- src/message.c Tue Oct 3 15:41:44 2006
|
|
Karsten Hopp |
0519cb |
***************
|
|
Karsten Hopp |
0519cb |
*** 4124,4131 ****
|
|
Karsten Hopp |
0519cb |
case 'c':
|
|
Karsten Hopp |
0519cb |
case 's':
|
|
Karsten Hopp |
0519cb |
length_modifier = '\0';
|
|
Karsten Hopp |
0519cb |
- zero_padding = 0; /* turn zero padding off for string
|
|
Karsten Hopp |
0519cb |
- conversions */
|
|
Karsten Hopp |
0519cb |
str_arg_l = 1;
|
|
Karsten Hopp |
0519cb |
switch (fmt_spec)
|
|
Karsten Hopp |
0519cb |
{
|
|
Karsten Hopp |
0519cb |
--- 4124,4129 ----
|
|
Karsten Hopp |
0519cb |
*** ../vim-7.0.117/src/version.c Tue Oct 3 17:04:21 2006
|
|
Karsten Hopp |
0519cb |
--- src/version.c Tue Oct 3 17:20:11 2006
|
|
Karsten Hopp |
0519cb |
***************
|
|
Karsten Hopp |
0519cb |
*** 668,669 ****
|
|
Karsten Hopp |
0519cb |
--- 668,671 ----
|
|
Karsten Hopp |
0519cb |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0519cb |
+ /**/
|
|
Karsten Hopp |
0519cb |
+ 118,
|
|
Karsten Hopp |
0519cb |
/**/
|
|
Karsten Hopp |
0519cb |
|
|
Karsten Hopp |
0519cb |
--
|
|
Karsten Hopp |
0519cb |
While it's true that many normal people whould prefer not to _date_ an
|
|
Karsten Hopp |
0519cb |
engineer, most normal people harbor an intense desire to _mate_ with them,
|
|
Karsten Hopp |
0519cb |
thus producing engineerlike children who will have high-paying jobs long
|
|
Karsten Hopp |
0519cb |
before losing their virginity.
|
|
Karsten Hopp |
0519cb |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
0519cb |
|
|
Karsten Hopp |
0519cb |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0519cb |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0519cb |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0519cb |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|