jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.133

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