mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
fileinfo: rename os_get_file_info{,_link,_fd}
This commit is contained in:
@@ -948,7 +948,7 @@ void ex_diffpatch(exarg_T *eap)
|
||||
|
||||
// Only continue if the output file was created.
|
||||
FileInfo file_info;
|
||||
bool info_ok = os_get_file_info((char *)tmp_new, &file_info);
|
||||
bool info_ok = os_fileinfo((char *)tmp_new, &file_info);
|
||||
off_t filesize = os_fileinfo_size(&file_info);
|
||||
if (!info_ok || filesize == 0) {
|
||||
EMSG(_("E816: Cannot read patch output"));
|
||||
|
Reference in New Issue
Block a user