[PATCH] D85669: Fix "last accessed time" test failing on Windows

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 05:26:45 PDT 2020


jhenderson added a comment.

In D85669#2212888 <https://reviews.llvm.org/D85669#2212888>, @aganea wrote:

> In D85669#2212552 <https://reviews.llvm.org/D85669#2212552>, @jhenderson wrote:
>
>> Okay, thanks. Looks like there's more values than are actually documented. Out of interest, what does `fsutil behavior disablelastaccess` say for you?
>
>   D:\llvm-project>fsutil behavior query disablelastaccess
>   DisableLastAccess = 2  (Géré par le système, désactivé)
>
> Despite `NtfsDisableLastAccessUpdate` being `0x80000002` in the registry. This link has more information about the meaning of the value: https://dfir.ru/2018/12/08/the-last-access-updates-are-almost-back/

Weird - my machine has them disabled, yet the access times are updated, whilst yours are enabled, and the times are not updated?? Oh well, as you say, given that the system setting isn't something we can easily change, I think marking these as unsupported on Windows is probably the only thing we can do.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85669/new/

https://reviews.llvm.org/D85669



More information about the llvm-commits mailing list