fix
This commit is contained in:
parent
71686405e0
commit
9d36ded2b3
@ -1018,17 +1018,16 @@ auto winfsp_drive::SetBasicInfo(PVOID /*file_node*/, PVOID file_desc,
|
|||||||
}
|
}
|
||||||
meta[META_ATTRIBUTES] = std::to_string(attributes);
|
meta[META_ATTRIBUTES] = std::to_string(attributes);
|
||||||
}
|
}
|
||||||
if ((creation_time != 0U) && (creation_time != max_time) {
|
if ((creation_time != 0U) && (creation_time != max_time)) {
|
||||||
meta[META_CREATION] = std::to_string(creation_time);
|
meta[META_CREATION] = std::to_string(creation_time);
|
||||||
}
|
}
|
||||||
if ((last_access_time != 0U) &&
|
if ((last_access_time != 0U) && (last_access_time != max_time)) {
|
||||||
(last_access_time != max_time) {
|
|
||||||
meta[META_ACCESSED] = std::to_string(last_access_time);
|
meta[META_ACCESSED] = std::to_string(last_access_time);
|
||||||
}
|
}
|
||||||
if ((last_write_time != 0U) && (last_write_time != max_time) {
|
if ((last_write_time != 0U) && (last_write_time != max_time)) {
|
||||||
meta[META_WRITTEN] = std::to_string(last_write_time);
|
meta[META_WRITTEN] = std::to_string(last_write_time);
|
||||||
}
|
}
|
||||||
if ((change_time != 0U) && (change_time != max_time) {
|
if ((change_time != 0U) && (change_time != max_time)) {
|
||||||
meta[META_CHANGED] = std::to_string(change_time);
|
meta[META_CHANGED] = std::to_string(change_time);
|
||||||
meta[META_MODIFIED] = std::to_string(change_time);
|
meta[META_MODIFIED] = std::to_string(change_time);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user