winfsp unit tests and fixes
This commit is contained in:
parent
beb1058a51
commit
3871e44732
@ -991,6 +991,10 @@ auto remote_server::winfsp_create(PWSTR file_name, UINT32 create_options,
|
|||||||
create_flags |= FILE_FLAG_POSIX_SEMANTICS;
|
create_flags |= FILE_FLAG_POSIX_SEMANTICS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((create_options & FILE_DELETE_ON_CLOSE) != 0U) {
|
||||||
|
create_flags |= FILE_FLAG_DELETE_ON_CLOSE;
|
||||||
|
}
|
||||||
|
|
||||||
attributes |=
|
attributes |=
|
||||||
((create_options & FILE_DIRECTORY_FILE) == 0U ? FILE_ATTRIBUTE_ARCHIVE
|
((create_options & FILE_DIRECTORY_FILE) == 0U ? FILE_ATTRIBUTE_ARCHIVE
|
||||||
: FILE_ATTRIBUTE_DIRECTORY);
|
: FILE_ATTRIBUTE_DIRECTORY);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user