mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-06 02:38:08 +00:00
windows: Missing renames.
This commit is contained in:
parent
abf3732728
commit
53d712dcb9
@ -20,9 +20,9 @@ GIT_INLINE(int) p_link(const char *old, const char *new)
|
|||||||
|
|
||||||
GIT_INLINE(int) p_mkdir(const char *path, mode_t mode)
|
GIT_INLINE(int) p_mkdir(const char *path, mode_t mode)
|
||||||
{
|
{
|
||||||
git_win32_path_utf16 buf;
|
git_win32_path buf;
|
||||||
GIT_UNUSED(mode);
|
GIT_UNUSED(mode);
|
||||||
git__win32_path_utf8_to_16(buf, path);
|
git__win32_path_from_c(buf, path);
|
||||||
return _wmkdir(buf);
|
return _wmkdir(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ GIT_INLINE(int) git__win32_path_from_c(git_win32_path dest, const char *src)
|
|||||||
return git__utf8_to_16(dest, GIT_WIN_PATH_UTF16, src);
|
return git__utf8_to_16(dest, GIT_WIN_PATH_UTF16, src);
|
||||||
}
|
}
|
||||||
|
|
||||||
GIT_INLINE(int) git__win32_path_to_c(char *dest, const git_win32_path *src)
|
GIT_INLINE(int) git__win32_path_to_c(char *dest, const git_win32_path src)
|
||||||
{
|
{
|
||||||
return git__utf16_to_8(dest, GIT_WIN_PATH_UTF8, src);
|
return git__utf16_to_8(dest, GIT_WIN_PATH_UTF8, src);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user