summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.2.114
blob: 9742b52d779e7e3b03986ac76f54a3d2dd2f63a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
To: vim-dev@vim.org
Subject: Patch 7.2.114
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.2.114
Problem:    Using wrong printf format.
Solution:   Use "%ld" instead of "%d". (Dominique Pelle)
Files:      src/netbeans.c


*** ../vim-7.2.113/src/netbeans.c	Tue Jan  6 16:13:42 2009
--- src/netbeans.c	Tue Feb 17 03:21:33 2009
***************
*** 1924,1930 ****
  	    vim_free(path);
  	    if (bufp == NULL)
  	    {
! 	    	nbdebug(("    File %s not found in setBufferNumber\n", args));
  		EMSG2("E642: File %s not found in setBufferNumber", args);
  		return FAIL;
  	    }
--- 1924,1930 ----
  	    vim_free(path);
  	    if (bufp == NULL)
  	    {
! 		nbdebug(("    File %s not found in setBufferNumber\n", args));
  		EMSG2("E642: File %s not found in setBufferNumber", args);
  		return FAIL;
  	    }
***************
*** 2318,2324 ****
  	    }
  	    if (pos)
  	    {
! 		coloncmd(":sign place %d line=%d name=%d buffer=%d",
  			   serNum, pos->lnum, typeNum, buf->bufp->b_fnum);
  		if (typeNum == curPCtype)
  		    coloncmd(":sign jump %d buffer=%d", serNum,
--- 2318,2324 ----
  	    }
  	    if (pos)
  	    {
! 		coloncmd(":sign place %d line=%ld name=%d buffer=%d",
  			   serNum, pos->lnum, typeNum, buf->bufp->b_fnum);
  		if (typeNum == curPCtype)
  		    coloncmd(":sign jump %d buffer=%d", serNum,
***************
*** 2422,2428 ****
  				GUARDED) == 0)
  			    {
  				coloncmd(
! 				    ":sign place %d line=%d name=%d buffer=%d",
  				     guardId++, lnum, GUARDED,
  				     buf->bufp->b_fnum);
  			    }
--- 2422,2428 ----
  				GUARDED) == 0)
  			    {
  				coloncmd(
! 				    ":sign place %d line=%ld name=%d buffer=%d",
  				     guardId++, lnum, GUARDED,
  				     buf->bufp->b_fnum);
  			    }
*** ../vim-7.2.113/src/version.c	Sat Feb 21 22:03:06 2009
--- src/version.c	Sat Feb 21 22:11:21 2009
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     114,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
104. When people ask about the Presidential Election you ask "Which country?"

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///