1
0
mirror of synced 2025-02-12 08:43:08 +01:00

Change Tar block padding to 2 blocks

This commit is contained in:
toby 2017-02-08 23:52:59 -05:00
parent 1653cbf817
commit d5796706e4

View File

@ -408,7 +408,7 @@ var Compress = {
}; };
Tarball.prototype.writeEndBlocks = function() { Tarball.prototype.writeEndBlocks = function() {
var filler = new Array(512 * 1); var filler = new Array(512 * 2);
filler.fill(0); filler.fill(0);
this.writeBytes(filler); this.writeBytes(filler);
}; };