jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.628

073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.628
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.628
073263
Problem:    Compiler warning for variable might be clobbered by longjmp.
073263
Solution:   Add volatile. (Michael Jarvis)
073263
Files:	    src/main.c
073263
073263
073263
*** ../vim-7.4.627/src/main.c	2015-01-27 14:09:29.621898236 +0100
073263
--- src/main.c	2015-02-10 19:24:34.032644963 +0100
073263
***************
073263
*** 1051,1057 ****
073263
      int		noexmode;   /* TRUE when return on entering Ex mode */
073263
  {
073263
      oparg_T	oa;				/* operator arguments */
073263
!     int		previous_got_int = FALSE;	/* "got_int" was TRUE */
073263
  #ifdef FEAT_CONCEAL
073263
      linenr_T	conceal_old_cursor_line = 0;
073263
      linenr_T	conceal_new_cursor_line = 0;
073263
--- 1051,1057 ----
073263
      int		noexmode;   /* TRUE when return on entering Ex mode */
073263
  {
073263
      oparg_T	oa;				/* operator arguments */
073263
!     volatile int previous_got_int = FALSE;	/* "got_int" was TRUE */
073263
  #ifdef FEAT_CONCEAL
073263
      linenr_T	conceal_old_cursor_line = 0;
073263
      linenr_T	conceal_new_cursor_line = 0;
073263
*** ../vim-7.4.627/src/version.c	2015-02-10 19:20:33.739791972 +0100
073263
--- src/version.c	2015-02-10 19:26:06.067440234 +0100
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     628,
073263
  /**/
073263
073263
-- 
073263
hundred-and-one symptoms of being an internet addict:
073263
215. Your mouse-clicking forearm rivals Popeye's.
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    ///