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