]>
Commit | Line | Data |
---|---|---|
f3c378e8 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.118 | |
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.0.118 | |
11 | Problem: printf() does not do zero padding for strings. | |
12 | Solution: Do allow zero padding for strings. | |
13 | Files: src/message.c | |
14 | ||
15 | ||
16 | *** ../vim-7.0.117/src/message.c Sun Sep 3 16:39:51 2006 | |
17 | --- src/message.c Tue Oct 3 15:41:44 2006 | |
18 | *************** | |
19 | *** 4124,4131 **** | |
20 | case 'c': | |
21 | case 's': | |
22 | length_modifier = '\0'; | |
23 | - zero_padding = 0; /* turn zero padding off for string | |
24 | - conversions */ | |
25 | str_arg_l = 1; | |
26 | switch (fmt_spec) | |
27 | { | |
28 | --- 4124,4129 ---- | |
29 | *** ../vim-7.0.117/src/version.c Tue Oct 3 17:04:21 2006 | |
30 | --- src/version.c Tue Oct 3 17:20:11 2006 | |
31 | *************** | |
32 | *** 668,669 **** | |
33 | --- 668,671 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 118, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | While it's true that many normal people whould prefer not to _date_ an | |
41 | engineer, most normal people harbor an intense desire to _mate_ with them, | |
42 | thus producing engineerlike children who will have high-paying jobs long | |
43 | before losing their virginity. | |
44 | (Scott Adams - The Dilbert principle) | |
45 | ||
46 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
47 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
48 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
49 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |