components/vim/vim72-patches/7.2.114
changeset 198 172fc01ce997
equal deleted inserted replaced
197:fd801ec0737c 198:172fc01ce997
       
     1 To: [email protected]
       
     2 Subject: Patch 7.2.114
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=ISO-8859-1
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.114
       
    11 Problem:    Using wrong printf format.
       
    12 Solution:   Use "%ld" instead of "%d". (Dominique Pelle)
       
    13 Files:      src/netbeans.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.113/src/netbeans.c	Tue Jan  6 16:13:42 2009
       
    17 --- src/netbeans.c	Tue Feb 17 03:21:33 2009
       
    18 ***************
       
    19 *** 1924,1930 ****
       
    20   	    vim_free(path);
       
    21   	    if (bufp == NULL)
       
    22   	    {
       
    23 ! 	    	nbdebug(("    File %s not found in setBufferNumber\n", args));
       
    24   		EMSG2("E642: File %s not found in setBufferNumber", args);
       
    25   		return FAIL;
       
    26   	    }
       
    27 --- 1924,1930 ----
       
    28   	    vim_free(path);
       
    29   	    if (bufp == NULL)
       
    30   	    {
       
    31 ! 		nbdebug(("    File %s not found in setBufferNumber\n", args));
       
    32   		EMSG2("E642: File %s not found in setBufferNumber", args);
       
    33   		return FAIL;
       
    34   	    }
       
    35 ***************
       
    36 *** 2318,2324 ****
       
    37   	    }
       
    38   	    if (pos)
       
    39   	    {
       
    40 ! 		coloncmd(":sign place %d line=%d name=%d buffer=%d",
       
    41   			   serNum, pos->lnum, typeNum, buf->bufp->b_fnum);
       
    42   		if (typeNum == curPCtype)
       
    43   		    coloncmd(":sign jump %d buffer=%d", serNum,
       
    44 --- 2318,2324 ----
       
    45   	    }
       
    46   	    if (pos)
       
    47   	    {
       
    48 ! 		coloncmd(":sign place %d line=%ld name=%d buffer=%d",
       
    49   			   serNum, pos->lnum, typeNum, buf->bufp->b_fnum);
       
    50   		if (typeNum == curPCtype)
       
    51   		    coloncmd(":sign jump %d buffer=%d", serNum,
       
    52 ***************
       
    53 *** 2422,2428 ****
       
    54   				GUARDED) == 0)
       
    55   			    {
       
    56   				coloncmd(
       
    57 ! 				    ":sign place %d line=%d name=%d buffer=%d",
       
    58   				     guardId++, lnum, GUARDED,
       
    59   				     buf->bufp->b_fnum);
       
    60   			    }
       
    61 --- 2422,2428 ----
       
    62   				GUARDED) == 0)
       
    63   			    {
       
    64   				coloncmd(
       
    65 ! 				    ":sign place %d line=%ld name=%d buffer=%d",
       
    66   				     guardId++, lnum, GUARDED,
       
    67   				     buf->bufp->b_fnum);
       
    68   			    }
       
    69 *** ../vim-7.2.113/src/version.c	Sat Feb 21 22:03:06 2009
       
    70 --- src/version.c	Sat Feb 21 22:11:21 2009
       
    71 ***************
       
    72 *** 678,679 ****
       
    73 --- 678,681 ----
       
    74   {   /* Add new patch number below this line */
       
    75 + /**/
       
    76 +     114,
       
    77   /**/
       
    78 
       
    79 -- 
       
    80 hundred-and-one symptoms of being an internet addict:
       
    81 104. When people ask about the Presidential Election you ask "Which country?"
       
    82 
       
    83  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    84 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    85 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    86  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///