mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Fixes the restore of unicode directories in Windows.
This commit is contained in:
parent
be06a6284d
commit
58f191ef1f
3 changed files with 15 additions and 1 deletions
5
mingw.c
5
mingw.c
|
|
@ -236,6 +236,11 @@ int windows_access(const char* file, int mode)
|
|||
return _waccess(u8tou16(file), mode);
|
||||
}
|
||||
|
||||
int windows_mkdir(const char* file)
|
||||
{
|
||||
return _wmkdir(u8tou16(file));
|
||||
}
|
||||
|
||||
int stat_inode(const char* file, struct windows_stat* st)
|
||||
{
|
||||
BY_HANDLE_FILE_INFORMATION info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue