073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.216
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.216
073263
Problem:    Compiler warnings. (Tony Mechelynck)
073263
Solution:   Initialize variables, add #ifdef.
073263
Files:	    src/term.c, src/os_unix.h
073263
073263
073263
*** ../vim-7.4.215/src/term.c	2014-03-23 15:12:29.939264336 +0100
073263
--- src/term.c	2014-03-25 13:39:10.821826340 +0100
073263
***************
073263
*** 4185,4191 ****
073263
  	    {
073263
  #ifdef FEAT_MBYTE
073263
  		int col;
073263
! 		int row_char;
073263
  #endif
073263
  		j = 0;
073263
  		extra = 0;
073263
--- 4185,4191 ----
073263
  	    {
073263
  #ifdef FEAT_MBYTE
073263
  		int col;
073263
! 		int row_char = NUL;
073263
  #endif
073263
  		j = 0;
073263
  		extra = 0;
073263
*** ../vim-7.4.215/src/os_unix.h	2014-03-12 16:51:35.060792541 +0100
073263
--- src/os_unix.h	2014-03-25 13:42:35.141829471 +0100
073263
***************
073263
*** 565,571 ****
073263
  # endif
073263
  #endif
073263
  
073263
! #define HAVE_DUP		/* have dup() */
073263
  #define HAVE_ST_MODE		/* have stat.st_mode */
073263
  
073263
  /* We have three kinds of ACL support. */
073263
--- 565,573 ----
073263
  # endif
073263
  #endif
073263
  
073263
! #ifndef HAVE_DUP
073263
! # define HAVE_DUP		/* have dup() */
073263
! #endif
073263
  #define HAVE_ST_MODE		/* have stat.st_mode */
073263
  
073263
  /* We have three kinds of ACL support. */
073263
*** ../vim-7.4.215/src/version.c	2014-03-25 13:03:44.937793766 +0100
073263
--- src/version.c	2014-03-25 13:40:36.969827660 +0100
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     216,
073263
  /**/
073263
073263
-- 
073263
Hacker: Someone skilled in computer programming (good guy).
073263
Cracker: A hacker that uses his skills to crack software (bad guy).
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///