jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.133

dcaee6
To: vim_dev@googlegroups.com
dcaee6
Subject: Patch 7.4.133
dcaee6
Fcc: outbox
dcaee6
From: Bram Moolenaar <Bram@moolenaar.net>
dcaee6
Mime-Version: 1.0
dcaee6
Content-Type: text/plain; charset=UTF-8
dcaee6
Content-Transfer-Encoding: 8bit
dcaee6
------------
dcaee6
dcaee6
Patch 7.4.133
dcaee6
Problem:    Clang warns for using NUL.
dcaee6
Solution:   Change NUL to NULL. (Dominique Pelle)
dcaee6
Files:	    src/eval.c, src/misc2.c
dcaee6
dcaee6
dcaee6
*** ../vim-7.4.132/src/eval.c	2013-12-14 12:17:34.000000000 +0100
dcaee6
--- src/eval.c	2014-01-06 06:11:50.000000000 +0100
dcaee6
***************
dcaee6
*** 14141,14148 ****
dcaee6
  	    }
dcaee6
  	    else
dcaee6
  	    {
dcaee6
! 		list_append_string(rettv->vval.v_list, NUL, -1);
dcaee6
! 		list_append_string(rettv->vval.v_list, NUL, -1);
dcaee6
  	    }
dcaee6
  	}
dcaee6
  #endif
dcaee6
--- 14141,14148 ----
dcaee6
  	    }
dcaee6
  	    else
dcaee6
  	    {
dcaee6
! 		list_append_string(rettv->vval.v_list, NULL, -1);
dcaee6
! 		list_append_string(rettv->vval.v_list, NULL, -1);
dcaee6
  	    }
dcaee6
  	}
dcaee6
  #endif
dcaee6
*** ../vim-7.4.132/src/misc2.c	2013-12-14 12:48:55.000000000 +0100
dcaee6
--- src/misc2.c	2014-01-06 06:11:50.000000000 +0100
dcaee6
***************
dcaee6
*** 4695,4702 ****
dcaee6
  	else
dcaee6
  	{
dcaee6
  	    char_u *p =  gettail(search_ctx->ffsc_fix_path);
dcaee6
! 	    char_u *wc_path = NUL;
dcaee6
! 	    char_u *temp = NUL;
dcaee6
  	    int    len = 0;
dcaee6
  
dcaee6
  	    if (p > search_ctx->ffsc_fix_path)
dcaee6
--- 4695,4702 ----
dcaee6
  	else
dcaee6
  	{
dcaee6
  	    char_u *p =  gettail(search_ctx->ffsc_fix_path);
dcaee6
! 	    char_u *wc_path = NULL;
dcaee6
! 	    char_u *temp = NULL;
dcaee6
  	    int    len = 0;
dcaee6
  
dcaee6
  	    if (p > search_ctx->ffsc_fix_path)
dcaee6
*** ../vim-7.4.132/src/version.c	2014-01-06 06:16:55.000000000 +0100
dcaee6
--- src/version.c	2014-01-06 06:13:26.000000000 +0100
dcaee6
***************
dcaee6
*** 740,741 ****
dcaee6
--- 740,743 ----
dcaee6
  {   /* Add new patch number below this line */
dcaee6
+ /**/
dcaee6
+     133,
dcaee6
  /**/
dcaee6
dcaee6
-- 
dcaee6
A meeting is an event at which the minutes are kept and the hours are lost.
dcaee6
dcaee6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
dcaee6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
dcaee6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
dcaee6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///