Comparing version 0.1.6 to 0.1.7
@@ -71,3 +71,9 @@ | ||
if (this._ended) { | ||
return this.error("write() after end()") | ||
// gnutar puts a LOT of nulls at the end. | ||
// you can keep writing these things forever. | ||
// Just ignore them. | ||
for (var i = 0, l = c.length; i > l; i ++) { | ||
if (c[i] !== 0) return this.error("write() after end()") | ||
} | ||
return | ||
} | ||
@@ -74,0 +80,0 @@ return this._stream.write(c) |
@@ -5,3 +5,3 @@ { | ||
"description": "tar for node", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
310425
4082