projects
/
tar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ef8ee
)
Use ftLastWriteTime instead
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 28 Feb 2026 07:59:08 +0000
(07:59 +0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 28 Feb 2026 07:59:08 +0000
(07:59 +0000)
tar.c
patch
|
blob
|
history
diff --git
a/tar.c
b/tar.c
index 645a68241b4167d6902e902acc3a4c56a608ccd2..b2f3d8b5b9d3004d9a2d3e4591604591589a4998 100755
(executable)
--- 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.ft
Creation
Time);
+ return FileTimeToUnixTime (fileInfo.ft
LastWrite
Time);
}
return 0;