]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix FILETIME truncation on `archive_write_finish_entry()` on Windows (#2050)
authornooriro <noorirogit@gmail.com>
Thu, 8 Feb 2024 12:37:31 +0000 (21:37 +0900)
committerGitHub <noreply@github.com>
Thu, 8 Feb 2024 12:37:31 +0000 (13:37 +0100)
commit010a2af130923cf616b5d5e094c25101479509b1
tree8e072bbe84407b0ca2f713473345f63837bb24d1
parent60f086b37fc40952530d385e9f7a05ebec3dd9ad
Fix FILETIME truncation on `archive_write_finish_entry()` on Windows (#2050)

On Windows, `archive_write_finish_entry()` does not restore time
correctly.
It truncates the last digit of original FILETIME which is stored in the
archive.
This commit fixes this behavior.
See libarchive#2049 for detailed explanation on this issue.
libarchive/archive_write_disk_windows.c