You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libutil: address review on the Windows deletePath walk
- Narrow the read-only comment to the mechanism that holds. It claimed store
canonicalisation produces these files, which was not verified and may not
hold on Windows at all; what does hold is that `chmod()` is `::_wchmod`,
which maps a cleared write bit onto `FILE_ATTRIBUTE_READONLY`.
- Use `OsString` rather than spelling `std::wstring` directly.
- Carry the `FILE_FULL_DIR_INFO` alignment requirement in the buffer's element
type instead of relying on `operator new` over-aligning a `char` buffer.
0 commit comments