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