Fix eocd
This commit is contained in:
parent
dd398f6987
commit
e6571520ae
|
|
@ -1556,7 +1556,7 @@ public class ZFile implements Closeable {
|
||||||
}
|
}
|
||||||
|
|
||||||
Verify.verify(eocdComment != null);
|
Verify.verify(eocdComment != null);
|
||||||
Eocd eocd = new Eocd(entries.size(), dirStart, dirSize, eocdComment);
|
Eocd eocd = new Eocd(entries.size() + linkingEntries.size(), dirStart, dirSize, eocdComment);
|
||||||
eocdComment = null;
|
eocdComment = null;
|
||||||
|
|
||||||
byte[] eocdBytes = eocd.toBytes();
|
byte[] eocdBytes = eocd.toBytes();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue