FAQ
Good find.

This would be done last night except I switched to an
OSX system and learned that:
1) bsd tar uses ' ' (20) to pad octal group names instead of \0 (0)
2) bsd and gnu tar use different heuristics for where to split the
filename.

So it looks like in order to be go tar compatible we need to use gnu tar
for the test ustar
file (for \0 padding), which means I have to update the file splitting
heuristic.

For a brief mention of \0 and ' ' see:
http://en.wikipedia.org/wiki/Tar_(computing)#UStar_format

Should be done soon.
On 2013/02/06 07:22:17, chressie1 wrote:
one last thing..

https://codereview.appspot.com/6700047/diff/53007/src/pkg/archive/tar/writer_test.go
File src/pkg/archive/tar/writer_test.go (right):

https://codereview.appspot.com/6700047/diff/53007/src/pkg/archive/tar/writer_test.go#newcode225
src/pkg/archive/tar/writer_test.go:225: func aTestPAXHeader(t
*testing.T) {
this test is never executed (due to the leading 'a')..
i noticed that it fails, because of the ambiguity of the "multiple
acceptable
lengths" tests. this should be cleaned up before activating the test.

https://codereview.appspot.com/6700047/

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 7 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedJan 31, '13 at 3:00a
activeFeb 6, '13 at 5:14p
posts7
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase