aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.c
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-08-27 19:14:44 +0200
committerStefan Hoffmann <stefan991@gmail.com>2014-08-31 15:37:55 +0200
commit5d074a0aa6b307a11ee572db6bf48ca17c3a8a23 (patch)
tree3dd3a2b9e8e229d772bf25286f238d92aba7ca16 /src/nvim/path.c
parent9ee1c3604c0cc8a3ec1bac32fb33e9c0d0887155 (diff)
downloadrneovim-5d074a0aa6b307a11ee572db6bf48ca17c3a8a23.tar.gz
rneovim-5d074a0aa6b307a11ee572db6bf48ca17c3a8a23.tar.bz2
rneovim-5d074a0aa6b307a11ee572db6bf48ca17c3a8a23.zip
fileinfo: rename os_get_file_info{,_link,_fd}
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r--src/nvim/path.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 0c18ab7bd4..8b4a63a6ae 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -1304,7 +1304,7 @@ void simplify_filename(char_u *filename)
saved_char = p[-1];
p[-1] = NUL;
FileInfo file_info;
- if (!os_get_file_info_link((char *)filename, &file_info)) {
+ if (!os_fileinfo_link((char *)filename, &file_info)) {
do_strip = TRUE;
}
p[-1] = saved_char;
@@ -1327,7 +1327,7 @@ void simplify_filename(char_u *filename)
* components. */
saved_char = *tail;
*tail = NUL;
- if (os_get_file_info((char *)filename, &file_info)) {
+ if (os_fileinfo((char *)filename, &file_info)) {
do_strip = TRUE;
}
else
@@ -1343,11 +1343,11 @@ void simplify_filename(char_u *filename)
* component's parent directory.) */
FileInfo new_file_info;
if (p == start && relative) {
- os_get_file_info(".", &new_file_info);
+ os_fileinfo(".", &new_file_info);
} else {
saved_char = *p;
*p = NUL;
- os_get_file_info((char *)filename, &new_file_info);
+ os_fileinfo((char *)filename, &new_file_info);
*p = saved_char;
}