]> Zhao Yanbai Git Server - minix.git/commit
libarchive: fix bad timestamp bug caused by bit shift.
authorThomas Cort <tcort@minix3.org>
Mon, 6 Jun 2011 14:31:20 +0000 (14:31 +0000)
committerBen Gras <ben@minix3.org>
Mon, 6 Jun 2011 18:52:22 +0000 (20:52 +0200)
commit4a5ca363b523fb32acc91abff0cc08e7b126f325
tree39cb5514acfa150229f2cd95256ca4e882a11e59
parentc02833ced638995390f45c74fe869aef8ed1d9d5
libarchive: fix bad timestamp bug caused by bit shift.

The file timestamps in archives created by libarchive all had
dates in the year 2038. It was caused by a bit shift in
archive_write_set_format_ustar which shifted 1 instead of 1ull.
lib/libarchive/archive_write_set_format_ustar.c