fileio: port hotfix from patch 8.1.1379

Patch 8.1.1379 includes a change to a test, added in Patch 8.1.0815.
Patch 8.1.0815 includes runtime doc changes to Blob.
Neovim does not support Blobs yet.
This commit is contained in:
Jan Edmund Lazo 2019-08-01 04:35:21 -04:00
parent 7995a5e964
commit c708567262

View File

@ -4845,9 +4845,8 @@ buf_check_timestamp(
// set b_mtime to stop further warnings (e.g., when executing
// FileChangedShell autocmd)
if (!file_info_ok) {
// When 'autoread' is set we'll check the file again to see if it
// re-appears.
buf->b_mtime = (buf->b_p_ar >= 0 ? buf->b_p_ar : p_ar);
// Check the file again later to see if it re-appears.
buf->b_mtime = -1;
buf->b_orig_size = 0;
buf->b_orig_mode = 0;
} else {