summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a0cf2d)
raw | patch | inline | side by side (parent: 7a0cf2d)
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Fri, 6 Oct 2006 23:47:24 +0000 (01:47 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 8 Oct 2006 06:16:54 +0000 (23:16 -0700) |
Use 10 for the "version needed to extract" field. This is the
default value, and we want to use it because we don't do anything
special. Info-ZIP's zip uses it, too.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
default value, and we want to use it because we don't do anything
special. Info-ZIP's zip uses it, too.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
archive-zip.c | patch | blob | history |
diff --git a/archive-zip.c b/archive-zip.c
index 3ffdad68d130136312028b389da73af1a789232e..ae7462353da7b0f5afd3659aa3dac26cd61c80b7 100644 (file)
--- a/archive-zip.c
+++ b/archive-zip.c
copy_le32(dirent.magic, 0x02014b50);
copy_le16(dirent.creator_version, 0);
- copy_le16(dirent.version, 20);
+ copy_le16(dirent.version, 10);
copy_le16(dirent.flags, 0);
copy_le16(dirent.compression_method, method);
copy_le16(dirent.mtime, zip_time);
zip_dir_entries++;
copy_le32(header.magic, 0x04034b50);
- copy_le16(header.version, 20);
+ copy_le16(header.version, 10);
copy_le16(header.flags, 0);
copy_le16(header.compression_method, method);
copy_le16(header.mtime, zip_time);