fixed ustar header

This commit is contained in:
Mathias Buus 2014-04-11 13:17:14 +02:00
parent 847b15462b
commit b30c549863

View file

@ -1,6 +1,6 @@
var ZEROS = '0000000000000000000'; var ZEROS = '0000000000000000000';
var ZERO_OFFSET = '0'.charCodeAt(0); var ZERO_OFFSET = '0'.charCodeAt(0);
var USTAR = 'ustar00'; var USTAR = 'ustar\x0000';
var clamp = function(index, len, defaultValue) { var clamp = function(index, len, defaultValue) {
if (typeof index !== 'number') return defaultValue; if (typeof index !== 'number') return defaultValue;