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