summaryrefslogtreecommitdiff
path: root/src/win32/posix_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/posix_w32.c')
-rw-r--r--src/win32/posix_w32.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c
index f26983d97..398287f9e 100644
--- a/src/win32/posix_w32.c
+++ b/src/win32/posix_w32.c
@@ -418,10 +418,10 @@ static bool target_is_dir(const char *target, const char *path)
git_win32_path resolved_w;
bool isdir = true;
- if (git_path_is_absolute(target))
+ if (git_fs_path_is_absolute(target))
git_win32_path_from_utf8(resolved_w, target);
- else if (git_path_dirname_r(&resolved, path) < 0 ||
- git_path_apply_relative(&resolved, target) < 0 ||
+ else if (git_fs_path_dirname_r(&resolved, path) < 0 ||
+ git_fs_path_apply_relative(&resolved, target) < 0 ||
git_win32_path_from_utf8(resolved_w, resolved.ptr) < 0)
goto out;
@@ -661,7 +661,7 @@ int p_getcwd(char *buffer_out, size_t size)
return -1;
}
- git_path_mkposix(buffer_out);
+ git_fs_path_mkposix(buffer_out);
return 0;
}
@@ -821,7 +821,7 @@ char *p_realpath(const char *orig_path, char *buffer)
if (git_win32_path_to_utf8(buffer, buffer_w) < 0)
return NULL;
- git_path_mkposix(buffer);
+ git_fs_path_mkposix(buffer);
return buffer;
}