archive-zip: set version field for big files correctly
authorRené Scharfe <l.s.r@web.de>
Thu, 27 Apr 2017 20:25:45 +0000 (22:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Apr 2017 01:07:59 +0000 (10:07 +0900)
commitebdfa294c9e280ee14de27cf9d4ffb2cf82d2f36
treee98e94b704af5c29f2f39933988e51a87baa8519
parent4cdf3f9d84568da72f1dcade812de7a42ecb6d15
archive-zip: set version field for big files correctly

Signal that extractors need to implement spec version 4.5 (or higher)
for files with sizes of 4GB and more.  Older unzippers might produce
truncated results otherwise; they should rather refuse to extract.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-zip.c