• R/O
  • SSH

vim: コミット

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

patch 8.2.4142: build failure with normal features without persistent undo
Problem: Build failure with normal features without persistent undo.
Solution: Adjust #ifdef. (closes https://github.com/vim/vim/issues/9557)

変更サマリ

差分

diff -r 1fa8aefced2e -r 6ce83b3745c0 src/fileio.c
--- a/src/fileio.c Tue Jan 18 22:45:04 2022 +0100
+++ b/src/fileio.c Wed Jan 19 12:30:05 2022 +0100
@@ -1300,7 +1300,7 @@
13001300 cryptkey = check_for_cryptkey(cryptkey, ptr, &size,
13011301 &filesize, newfile, sfname,
13021302 &did_ask_for_key);
1303-# ifdef CRYPT_NOT_INPLACE
1303+# if defined(CRYPT_NOT_INPLACE) && defined(FEAT_PERSISTENT_UNDO)
13041304 if (curbuf->b_cryptstate != NULL
13051305 && !crypt_works_inplace(curbuf->b_cryptstate))
13061306 // reading undo file requires crypt_decode_inplace()
diff -r 1fa8aefced2e -r 6ce83b3745c0 src/version.c
--- a/src/version.c Tue Jan 18 22:45:04 2022 +0100
+++ b/src/version.c Wed Jan 19 12:30:05 2022 +0100
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 4142,
755+/**/
754756 4141,
755757 /**/
756758 4140,
旧リポジトリブラウザで表示