diff options
Diffstat (limited to 'libarchive/archive_entry_copy_bhfi.c')
-rw-r--r-- | libarchive/archive_entry_copy_bhfi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libarchive/archive_entry_copy_bhfi.c b/libarchive/archive_entry_copy_bhfi.c index 8339032c5c35..7a4bc9cd0526 100644 --- a/libarchive/archive_entry_copy_bhfi.c +++ b/libarchive/archive_entry_copy_bhfi.c @@ -63,12 +63,13 @@ archive_entry_copy_bhfi(struct archive_entry *entry, archive_entry_set_mtime(entry, secs, nsecs); fileTimeToUtc(&bhfi->ftCreationTime, &secs, &nsecs); archive_entry_set_birthtime(entry, secs, nsecs); + archive_entry_set_ctime(entry, secs, nsecs); archive_entry_set_dev(entry, bhfi->dwVolumeSerialNumber); archive_entry_set_ino64(entry, (((int64_t)bhfi->nFileIndexHigh) << 32) + bhfi->nFileIndexLow); archive_entry_set_nlink(entry, bhfi->nNumberOfLinks); archive_entry_set_size(entry, (((int64_t)bhfi->nFileSizeHigh) << 32) + bhfi->nFileSizeLow); -// archive_entry_set_mode(entry, st->st_mode); + /* archive_entry_set_mode(entry, st->st_mode); */ } #endif |