e87a0d4
To: vim-dev@vim.org
e87a0d4
Subject: Patch 7.2.114
e87a0d4
Fcc: outbox
e87a0d4
From: Bram Moolenaar <Bram@moolenaar.net>
e87a0d4
Mime-Version: 1.0
e87a0d4
Content-Type: text/plain; charset=ISO-8859-1
e87a0d4
Content-Transfer-Encoding: 8bit
e87a0d4
------------
e87a0d4
e87a0d4
Patch 7.2.114
e87a0d4
Problem:    Using wrong printf format.
e87a0d4
Solution:   Use "%ld" instead of "%d". (Dominique Pelle)
e87a0d4
Files:      src/netbeans.c
e87a0d4
e87a0d4
e87a0d4
*** ../vim-7.2.113/src/netbeans.c	Tue Jan  6 16:13:42 2009
e87a0d4
--- src/netbeans.c	Tue Feb 17 03:21:33 2009
e87a0d4
***************
e87a0d4
*** 1924,1930 ****
e87a0d4
  	    vim_free(path);
e87a0d4
  	    if (bufp == NULL)
e87a0d4
  	    {
e87a0d4
! 	    	nbdebug(("    File %s not found in setBufferNumber\n", args));
e87a0d4
  		EMSG2("E642: File %s not found in setBufferNumber", args);
e87a0d4
  		return FAIL;
e87a0d4
  	    }
e87a0d4
--- 1924,1930 ----
e87a0d4
  	    vim_free(path);
e87a0d4
  	    if (bufp == NULL)
e87a0d4
  	    {
e87a0d4
! 		nbdebug(("    File %s not found in setBufferNumber\n", args));
e87a0d4
  		EMSG2("E642: File %s not found in setBufferNumber", args);
e87a0d4
  		return FAIL;
e87a0d4
  	    }
e87a0d4
***************
e87a0d4
*** 2318,2324 ****
e87a0d4
  	    }
e87a0d4
  	    if (pos)
e87a0d4
  	    {
e87a0d4
! 		coloncmd(":sign place %d line=%d name=%d buffer=%d",
e87a0d4
  			   serNum, pos->lnum, typeNum, buf->bufp->b_fnum);
e87a0d4
  		if (typeNum == curPCtype)
e87a0d4
  		    coloncmd(":sign jump %d buffer=%d", serNum,
e87a0d4
--- 2318,2324 ----
e87a0d4
  	    }
e87a0d4
  	    if (pos)
e87a0d4
  	    {
e87a0d4
! 		coloncmd(":sign place %d line=%ld name=%d buffer=%d",
e87a0d4
  			   serNum, pos->lnum, typeNum, buf->bufp->b_fnum);
e87a0d4
  		if (typeNum == curPCtype)
e87a0d4
  		    coloncmd(":sign jump %d buffer=%d", serNum,
e87a0d4
***************
e87a0d4
*** 2422,2428 ****
e87a0d4
  				GUARDED) == 0)
e87a0d4
  			    {
e87a0d4
  				coloncmd(
e87a0d4
! 				    ":sign place %d line=%d name=%d buffer=%d",
e87a0d4
  				     guardId++, lnum, GUARDED,
e87a0d4
  				     buf->bufp->b_fnum);
e87a0d4
  			    }
e87a0d4
--- 2422,2428 ----
e87a0d4
  				GUARDED) == 0)
e87a0d4
  			    {
e87a0d4
  				coloncmd(
e87a0d4
! 				    ":sign place %d line=%ld name=%d buffer=%d",
e87a0d4
  				     guardId++, lnum, GUARDED,
e87a0d4
  				     buf->bufp->b_fnum);
e87a0d4
  			    }
e87a0d4
*** ../vim-7.2.113/src/version.c	Sat Feb 21 22:03:06 2009
e87a0d4
--- src/version.c	Sat Feb 21 22:11:21 2009
e87a0d4
***************
e87a0d4
*** 678,679 ****
e87a0d4
--- 678,681 ----
e87a0d4
  {   /* Add new patch number below this line */
e87a0d4
+ /**/
e87a0d4
+     114,
e87a0d4
  /**/
e87a0d4
e87a0d4
-- 
e87a0d4
hundred-and-one symptoms of being an internet addict:
e87a0d4
104. When people ask about the Presidential Election you ask "Which country?"
e87a0d4
e87a0d4
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
e87a0d4
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
e87a0d4
\\\        download, build and distribute -- http://www.A-A-P.org        ///
e87a0d4
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///