OSDN Git Service

archive-tar: huge offset and future timestamps would not work on 32-bit
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Jul 2016 20:04:43 +0000 (13:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jul 2016 17:51:55 +0000 (10:51 -0700)
commit29493589e97a2de0c4c1c314f61ccafaee3b5caf
treead4bc08358d295ecc87492b3ff9c231f909c3027
parent82246e075e5c028dd886adda68e28de092e33df1
archive-tar: huge offset and future timestamps would not work on 32-bit

As we are not yet moving everything to size_t but still using ulong
internally when talking about the size of object, platforms with
32-bit long will not be able to produce tar archive with 4GB+ file,
and cannot grok 077777777777UL as a constant.  Disable the extended
header feature and do not test it on them.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-tar.c
t/t5000-tar-tree.sh