mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
eval: Make writefile() able to disable fsync()
This commit is contained in:
@@ -811,7 +811,7 @@ static int open_shada_file_for_reading(const char *const fname,
|
||||
/// Wrapper for closing file descriptors
|
||||
static void close_file(void *cookie)
|
||||
{
|
||||
const int error = file_free(cookie);
|
||||
const int error = file_free(cookie, true);
|
||||
if (error != 0) {
|
||||
emsgf(_(SERR "System error while closing ShaDa file: %s"),
|
||||
os_strerror(error));
|
||||
|
Reference in New Issue
Block a user