mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:8.1.1413: error when the drive of the swap file was disconnected (#30009)
Problem: Error when the drive of the swap file was disconnected.
Solution: Try closing and re-opening the swap file. (closes vim/vim#4378)
b58a4b938c
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -46,6 +46,8 @@ typedef struct {
|
||||
char *mf_fname; ///< name of the file
|
||||
char *mf_ffname; ///< idem, full path
|
||||
int mf_fd; ///< file descriptor
|
||||
int mf_flags; ///< flags used when opening this memfile
|
||||
bool mf_reopen; ///< mf_fd was closed, retry opening
|
||||
bhdr_T *mf_free_first; ///< first block header in free list
|
||||
|
||||
/// The used blocks are kept in mf_hash.
|
||||
|
Reference in New Issue
Block a user