jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.216
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.216
3ef2ca
Problem:    Compiler warnings. (Tony Mechelynck)
3ef2ca
Solution:   Initialize variables, add #ifdef.
3ef2ca
Files:	    src/term.c, src/os_unix.h
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.215/src/term.c	2014-03-23 15:12:29.939264336 +0100
3ef2ca
--- src/term.c	2014-03-25 13:39:10.821826340 +0100
3ef2ca
***************
3ef2ca
*** 4185,4191 ****
3ef2ca
  	    {
3ef2ca
  #ifdef FEAT_MBYTE
3ef2ca
  		int col;
3ef2ca
! 		int row_char;
3ef2ca
  #endif
3ef2ca
  		j = 0;
3ef2ca
  		extra = 0;
3ef2ca
--- 4185,4191 ----
3ef2ca
  	    {
3ef2ca
  #ifdef FEAT_MBYTE
3ef2ca
  		int col;
3ef2ca
! 		int row_char = NUL;
3ef2ca
  #endif
3ef2ca
  		j = 0;
3ef2ca
  		extra = 0;
3ef2ca
*** ../vim-7.4.215/src/os_unix.h	2014-03-12 16:51:35.060792541 +0100
3ef2ca
--- src/os_unix.h	2014-03-25 13:42:35.141829471 +0100
3ef2ca
***************
3ef2ca
*** 565,571 ****
3ef2ca
  # endif
3ef2ca
  #endif
3ef2ca
  
3ef2ca
! #define HAVE_DUP		/* have dup() */
3ef2ca
  #define HAVE_ST_MODE		/* have stat.st_mode */
3ef2ca
  
3ef2ca
  /* We have three kinds of ACL support. */
3ef2ca
--- 565,573 ----
3ef2ca
  # endif
3ef2ca
  #endif
3ef2ca
  
3ef2ca
! #ifndef HAVE_DUP
3ef2ca
! # define HAVE_DUP		/* have dup() */
3ef2ca
! #endif
3ef2ca
  #define HAVE_ST_MODE		/* have stat.st_mode */
3ef2ca
  
3ef2ca
  /* We have three kinds of ACL support. */
3ef2ca
*** ../vim-7.4.215/src/version.c	2014-03-25 13:03:44.937793766 +0100
3ef2ca
--- src/version.c	2014-03-25 13:40:36.969827660 +0100
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     216,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
Hacker: Someone skilled in computer programming (good guy).
3ef2ca
Cracker: A hacker that uses his skills to crack software (bad guy).
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    ///