1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-11-15 04:58:36 +00:00

main.go: adjust displayed numbers and readings

remove post, and add EOF padding

Fixes #3
This commit is contained in:
Vincent Batts 2015-03-10 11:19:00 -04:00
parent 5d32b4003b
commit 5c79f14ea5

View file

@ -51,6 +51,8 @@ func main() {
post := tr.RawBytes()
output.Write(post)
sum += int64(len(post))
fmt.Printf("EOF padding: %d\n", len(post))
break
}
@ -65,12 +67,7 @@ func main() {
}
sum += i
// I've never seen this be populated
post := tr.RawBytes()
output.Write(post)
sum += int64(len(post))
fmt.Println(hdr.Name, "pre:", len(pre), "read:", i, "post:", len(post))
fmt.Println(hdr.Name, "pre:", len(pre), "read:", i)
}
// it is allowable, and not uncommon that there is further padding on the