From 2d37e46b09666f6d3c4cac5685aa3de17b5366a1 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Sat, 28 Feb 2026 07:59:08 +0000 Subject: [PATCH] Use ftLastWriteTime instead --- tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tar.c b/tar.c index 645a682..b2f3d8b 100755 --- a/tar.c +++ b/tar.c @@ -483,7 +483,7 @@ static uint64_t CreationTime (LPCTSTR szPath) { WIN32_FILE_ATTRIBUTE_DATA fileInfo; if (GetFileAttributesEx (szPath, GetFileExInfoStandard, &fileInfo)) { - return FileTimeToUnixTime (fileInfo.ftCreationTime); + return FileTimeToUnixTime (fileInfo.ftLastWriteTime); } return 0; -- 2.34.1