|
Karsten Hopp |
749ebb |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
749ebb |
Subject: Patch 7.4.841
|
|
Karsten Hopp |
749ebb |
Fcc: outbox
|
|
Karsten Hopp |
749ebb |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
749ebb |
Mime-Version: 1.0
|
|
Karsten Hopp |
749ebb |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
749ebb |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
749ebb |
------------
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
Patch 7.4.841
|
|
Karsten Hopp |
749ebb |
Problem: Can't compile without the multi-byte feature. (John Marriott)
|
|
Karsten Hopp |
749ebb |
Solution: Add more #ifdef's.
|
|
Karsten Hopp |
749ebb |
Files: src/option.c
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
*** ../vim-7.4.840/src/option.c 2015-08-25 21:27:31.312156958 +0200
|
|
Karsten Hopp |
749ebb |
--- src/option.c 2015-08-26 23:18:39.122134709 +0200
|
|
Karsten Hopp |
749ebb |
***************
|
|
Karsten Hopp |
749ebb |
*** 3652,3664 ****
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
for (i = 0; !istermoption(&options[i]); i++)
|
|
Karsten Hopp |
749ebb |
if (!(options[i].flags & P_NODEFAULT)
|
|
Karsten Hopp |
749ebb |
&& (opt_flags == 0
|
|
Karsten Hopp |
749ebb |
! || (options[i].var != (char_u *)&p_enc
|
|
Karsten Hopp |
749ebb |
! #if defined(FEAT_CRYPT)
|
|
Karsten Hopp |
749ebb |
&& options[i].var != (char_u *)&p_cm
|
|
Karsten Hopp |
749ebb |
&& options[i].var != (char_u *)&p_key
|
|
Karsten Hopp |
749ebb |
#endif
|
|
Karsten Hopp |
749ebb |
! )))
|
|
Karsten Hopp |
749ebb |
set_option_default(i, opt_flags, p_cp);
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
#ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
749ebb |
--- 3652,3670 ----
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
for (i = 0; !istermoption(&options[i]); i++)
|
|
Karsten Hopp |
749ebb |
if (!(options[i].flags & P_NODEFAULT)
|
|
Karsten Hopp |
749ebb |
+ #if defined(FEAT_MBYTE) || defined(FEAT_CRYPT)
|
|
Karsten Hopp |
749ebb |
&& (opt_flags == 0
|
|
Karsten Hopp |
749ebb |
! || (TRUE
|
|
Karsten Hopp |
749ebb |
! # if defined(FEAT_MBYTE)
|
|
Karsten Hopp |
749ebb |
! && options[i].var != (char_u *)&p_enc
|
|
Karsten Hopp |
749ebb |
! # endif
|
|
Karsten Hopp |
749ebb |
! # if defined(FEAT_CRYPT)
|
|
Karsten Hopp |
749ebb |
&& options[i].var != (char_u *)&p_cm
|
|
Karsten Hopp |
749ebb |
&& options[i].var != (char_u *)&p_key
|
|
Karsten Hopp |
749ebb |
+ # endif
|
|
Karsten Hopp |
749ebb |
+ ))
|
|
Karsten Hopp |
749ebb |
#endif
|
|
Karsten Hopp |
749ebb |
! )
|
|
Karsten Hopp |
749ebb |
set_option_default(i, opt_flags, p_cp);
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
#ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
749ebb |
*** ../vim-7.4.840/src/version.c 2015-08-26 23:12:32.730194785 +0200
|
|
Karsten Hopp |
749ebb |
--- src/version.c 2015-08-26 23:22:20.295676696 +0200
|
|
Karsten Hopp |
749ebb |
***************
|
|
Karsten Hopp |
749ebb |
*** 743,744 ****
|
|
Karsten Hopp |
749ebb |
--- 743,746 ----
|
|
Karsten Hopp |
749ebb |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
749ebb |
+ /**/
|
|
Karsten Hopp |
749ebb |
+ 841,
|
|
Karsten Hopp |
749ebb |
/**/
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
--
|
|
Karsten Hopp |
749ebb |
So when I saw the post to comp.editors, I rushed over to the FTP site to
|
|
Karsten Hopp |
749ebb |
grab it. So I yank apart the tarball, light x candles, where x= the
|
|
Karsten Hopp |
749ebb |
vim version multiplied by the md5sum of the source divided by the MAC of
|
|
Karsten Hopp |
749ebb |
my NIC (8A3FA78155A8A1D346C3C4A), put on black robes, dim the lights,
|
|
Karsten Hopp |
749ebb |
wave a dead chicken over the hard drive, and summon the power of GNU GCC
|
|
Karsten Hopp |
749ebb |
with the magic words "make config ; make!".
|
|
Karsten Hopp |
749ebb |
[Jason Spence, compiling Vim 5.0]
|
|
Karsten Hopp |
749ebb |
|
|
Karsten Hopp |
749ebb |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
749ebb |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
749ebb |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
749ebb |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|