equal
deleted
inserted
replaced
1 To: [email protected] |
|
2 Subject: Patch 7.2.213 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=UTF-8 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.213 |
|
11 Problem: Warning for using vsprintf(). |
|
12 Solution: Use vim_vsnprintf(). |
|
13 Files: src/netbeans.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.212/src/netbeans.c 2009-06-16 16:57:53.000000000 +0200 |
|
17 --- src/netbeans.c 2009-06-24 11:26:43.000000000 +0200 |
|
18 *************** |
|
19 *** 2586,2592 **** |
|
20 va_list ap; |
|
21 |
|
22 va_start(ap, cmd); |
|
23 ! vsprintf(buf, cmd, ap); |
|
24 va_end(ap); |
|
25 |
|
26 nbdebug((" COLONCMD %s\n", buf)); |
|
27 --- 2586,2592 ---- |
|
28 va_list ap; |
|
29 |
|
30 va_start(ap, cmd); |
|
31 ! vim_vsnprintf(buf, sizeof(buf), cmd, ap, NULL); |
|
32 va_end(ap); |
|
33 |
|
34 nbdebug((" COLONCMD %s\n", buf)); |
|
35 *** ../vim-7.2.212/src/version.c 2009-06-24 16:41:01.000000000 +0200 |
|
36 --- src/version.c 2009-06-24 16:49:06.000000000 +0200 |
|
37 *************** |
|
38 *** 678,679 **** |
|
39 --- 678,681 ---- |
|
40 { /* Add new patch number below this line */ |
|
41 + /**/ |
|
42 + 213, |
|
43 /**/ |
|
44 |
|
45 -- |
|
46 hundred-and-one symptoms of being an internet addict: |
|
47 38. You wake up at 3 a.m. to go to the bathroom and stop and check your e-mail |
|
48 on the way back to bed. |
|
49 |
|
50 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
51 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
52 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|