Karsten Hopp 3ca0f5
To: vim_dev@googlegroups.com
Karsten Hopp 3ca0f5
Subject: Patch 7.4.788
Karsten Hopp 3ca0f5
Fcc: outbox
Karsten Hopp 3ca0f5
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3ca0f5
Mime-Version: 1.0
Karsten Hopp 3ca0f5
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 3ca0f5
Content-Transfer-Encoding: 8bit
Karsten Hopp 3ca0f5
------------
Karsten Hopp 3ca0f5
Karsten Hopp 3ca0f5
Patch 7.4.788 (after 7.4.787)
Karsten Hopp 3ca0f5
Problem:    Can't build without the crypt feature. (John Marriott)
Karsten Hopp 3ca0f5
Solution:   Add #ifdef's.
Karsten Hopp 3ca0f5
Files:      src/option.c
Karsten Hopp 3ca0f5
Karsten Hopp 3ca0f5
Karsten Hopp 3ca0f5
*** ../vim-7.4.787/src/option.c	2015-07-17 22:04:44.300830834 +0200
Karsten Hopp 3ca0f5
--- src/option.c	2015-07-17 23:05:31.542484926 +0200
Karsten Hopp 3ca0f5
***************
Karsten Hopp 3ca0f5
*** 4918,4924 ****
Karsten Hopp 3ca0f5
  			*(char_u **)(varp) = newval;
Karsten Hopp 3ca0f5
  
Karsten Hopp 3ca0f5
  #if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
Karsten Hopp 3ca0f5
! 			if (!starting && options[opt_idx].indir != PV_KEY
Karsten Hopp 3ca0f5
  							   && origval != NULL)
Karsten Hopp 3ca0f5
  			    /* origval may be freed by
Karsten Hopp 3ca0f5
  			     * did_set_string_option(), make a copy. */
Karsten Hopp 3ca0f5
--- 4918,4927 ----
Karsten Hopp 3ca0f5
  			*(char_u **)(varp) = newval;
Karsten Hopp 3ca0f5
  
Karsten Hopp 3ca0f5
  #if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
Karsten Hopp 3ca0f5
! 			if (!starting
Karsten Hopp 3ca0f5
! # ifdef FEAT_CRYPT
Karsten Hopp 3ca0f5
! 				&& options[opt_idx].indir != PV_KEY
Karsten Hopp 3ca0f5
! # endif
Karsten Hopp 3ca0f5
  							   && origval != NULL)
Karsten Hopp 3ca0f5
  			    /* origval may be freed by
Karsten Hopp 3ca0f5
  			     * did_set_string_option(), make a copy. */
Karsten Hopp 3ca0f5
***************
Karsten Hopp 3ca0f5
*** 5717,5723 ****
Karsten Hopp 3ca0f5
  	*varp = s;
Karsten Hopp 3ca0f5
  
Karsten Hopp 3ca0f5
  #if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
Karsten Hopp 3ca0f5
! 	if (!starting && options[opt_idx].indir != PV_KEY)
Karsten Hopp 3ca0f5
  	    saved_oldval = vim_strsave(oldval);
Karsten Hopp 3ca0f5
  #endif
Karsten Hopp 3ca0f5
  	if ((r = did_set_string_option(opt_idx, varp, TRUE, oldval, NULL,
Karsten Hopp 3ca0f5
--- 5720,5730 ----
Karsten Hopp 3ca0f5
  	*varp = s;
Karsten Hopp 3ca0f5
  
Karsten Hopp 3ca0f5
  #if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
Karsten Hopp 3ca0f5
! 	if (!starting
Karsten Hopp 3ca0f5
! # ifdef FEAT_CRYPT
Karsten Hopp 3ca0f5
! 		&& options[opt_idx].indir != PV_KEY
Karsten Hopp 3ca0f5
! # endif
Karsten Hopp 3ca0f5
! 		)
Karsten Hopp 3ca0f5
  	    saved_oldval = vim_strsave(oldval);
Karsten Hopp 3ca0f5
  #endif
Karsten Hopp 3ca0f5
  	if ((r = did_set_string_option(opt_idx, varp, TRUE, oldval, NULL,
Karsten Hopp 3ca0f5
*** ../vim-7.4.787/src/version.c	2015-07-17 22:04:44.304830797 +0200
Karsten Hopp 3ca0f5
--- src/version.c	2015-07-17 23:07:19.569467719 +0200
Karsten Hopp 3ca0f5
***************
Karsten Hopp 3ca0f5
*** 743,744 ****
Karsten Hopp 3ca0f5
--- 743,746 ----
Karsten Hopp 3ca0f5
  {   /* Add new patch number below this line */
Karsten Hopp 3ca0f5
+ /**/
Karsten Hopp 3ca0f5
+     788,
Karsten Hopp 3ca0f5
  /**/
Karsten Hopp 3ca0f5
Karsten Hopp 3ca0f5
-- 
Karsten Hopp 3ca0f5
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 3ca0f5
235. You start naming your kids Pascal, COBOL, Algol and Fortran.
Karsten Hopp 3ca0f5
Karsten Hopp 3ca0f5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3ca0f5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3ca0f5
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 3ca0f5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///