aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/tools/tar.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/luarocks/tools/tar.lua b/src/luarocks/tools/tar.lua
index ae5c83e2..0d3b3c19 100644
--- a/src/luarocks/tools/tar.lua
+++ b/src/luarocks/tools/tar.lua
@@ -60,7 +60,6 @@ local function read_header_block(block)
60 header.uid = octal_to_number(nullterm(block:sub(109,116))) 60 header.uid = octal_to_number(nullterm(block:sub(109,116)))
61 header.gid = octal_to_number(nullterm(block:sub(117,124))) 61 header.gid = octal_to_number(nullterm(block:sub(117,124)))
62 header.size = octal_to_number(nullterm(block:sub(125,136))) 62 header.size = octal_to_number(nullterm(block:sub(125,136)))
63print("{"..block:sub(125,136).."}", "{"..nullterm(block:sub(125,136)).."}", "{"..octal_to_number(nullterm(block:sub(125,136))).."}", header.size)
64 header.mtime = octal_to_number(nullterm(block:sub(137,148))) 63 header.mtime = octal_to_number(nullterm(block:sub(137,148)))
65 header.chksum = octal_to_number(nullterm(block:sub(149,156))) 64 header.chksum = octal_to_number(nullterm(block:sub(149,156)))
66 header.typeflag = get_typeflag(block:sub(157,157)) 65 header.typeflag = get_typeflag(block:sub(157,157))