Change Tar block padding to 2 blocks
This commit is contained in:
1 parent
1653cbf817
commit
d5796706e4
1 file changed
+1
-1
@@ -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);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user