fileinfo: rename os_get_file_info{,_link,_fd}

This commit is contained in:
Stefan Hoffmann
2014-08-27 19:14:44 +02:00
parent 9ee1c3604c
commit 5d074a0aa6
14 changed files with 74 additions and 75 deletions

View File

@@ -328,7 +328,7 @@ int len /* buffer size, only used when name gets longer */
struct dirent *dp;
FileInfo file_info;
if (os_get_file_info_link((char *)name, &file_info)) {
if (os_fileinfo_link((char *)name, &file_info)) {
/* Open the directory where the file is located. */
slash = vim_strrchr(name, '/');
if (slash == NULL) {
@@ -354,7 +354,7 @@ int len /* buffer size, only used when name gets longer */
STRLCPY(newname + (tail - name), dp->d_name,
MAXPATHL - (tail - name) + 1);
FileInfo file_info_new;
if (os_get_file_info_link((char *)newname, &file_info_new)
if (os_fileinfo_link((char *)newname, &file_info_new)
&& os_file_info_id_equal(&file_info, &file_info_new)) {
STRCPY(tail, dp->d_name);
break;