Mirror of the Vim source from https://github.com/vim/vim
リビジョン | 6ce83b3745c0bf4c9335f6d92993ee071e2c06d5 (tree) |
---|---|
日時 | 2022-01-19 20:30:05 |
作者 | Bram Moolenaar <Bram@vim....> |
コミッター | Bram Moolenaar |
patch 8.2.4142: build failure with normal features without persistent undo
Commit: https://github.com/vim/vim/commit/b4868eddd9cdc7086c88a7a3699dd435d34ae904
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 19 11:24:40 2022 +0000
@@ -1300,7 +1300,7 @@ | ||
1300 | 1300 | cryptkey = check_for_cryptkey(cryptkey, ptr, &size, |
1301 | 1301 | &filesize, newfile, sfname, |
1302 | 1302 | &did_ask_for_key); |
1303 | -# ifdef CRYPT_NOT_INPLACE | |
1303 | +# if defined(CRYPT_NOT_INPLACE) && defined(FEAT_PERSISTENT_UNDO) | |
1304 | 1304 | if (curbuf->b_cryptstate != NULL |
1305 | 1305 | && !crypt_works_inplace(curbuf->b_cryptstate)) |
1306 | 1306 | // reading undo file requires crypt_decode_inplace() |
@@ -751,6 +751,8 @@ | ||
751 | 751 | static int included_patches[] = |
752 | 752 | { /* Add new patch number below this line */ |
753 | 753 | /**/ |
754 | + 4142, | |
755 | +/**/ | |
754 | 756 | 4141, |
755 | 757 | /**/ |
756 | 758 | 4140, |