From 5aba49ebc3061b01ba921630ecc0d20b5e3f528a Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 25 Mar 2016 06:43:22 +0000 Subject: [PATCH] Revert "Fix windows build for sys::fs:file_status Access Time added in r264387" This reverts commit r264388. Bots are broken in various ways, I need to take one commit at a time... From: Mehdi Amini llvm-svn: 264389 --- llvm/lib/Support/Windows/Path.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 24f2fa5..6c08be9 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -416,8 +416,8 @@ static std::error_code getStatus(HANDLE FileHandle, file_status &Result) { ? file_type::directory_file : file_type::regular_file; Result = - file_status(Type, Info.ftLastAccessTime.dwHighDateTime, - Info.ftLastAccessTime.dwLowDateTime, + file_status(Type, Info.lpLastAccessTime.dwHighDateTime, + Info.lpLastAccessTime.dwLowDateTime, Info.ftLastWriteTime.dwHighDateTime, Info.ftLastWriteTime.dwLowDateTime, Info.dwVolumeSerialNumber, Info.nFileSizeHigh, -- 2.7.4