• Joe Tsai's avatar
    archive/tar: re-implement USTAR path splitting · 4c557743
    Joe Tsai authored
    The logic for USTAR was disabled because a previous implementation of
    Writer had a wrong understanding of the differences between USTAR and GNU,
    causing the prefix field is incorrectly be populated in GNU files.
    
    Now that this issue has been fixed, we can re-enable the logic for USTAR
    path splitting, which allows Writer to use the USTAR for a wider range
    of possible inputs.
    
    Updates #9683
    Updates #12594
    Updates #17630
    
    Change-Id: I9fe34e5df63f99c6dd56fee3a7e7e4d6ec3995c9
    Reviewed-on: https://go-review.googlesource.com/55574
    Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    4c557743
Name
Last commit
Last update
..
testdata Loading commit data...
common.go Loading commit data...
example_test.go Loading commit data...
format.go Loading commit data...
reader.go Loading commit data...
reader_test.go Loading commit data...
stat_atim.go Loading commit data...
stat_atimespec.go Loading commit data...
stat_unix.go Loading commit data...
strconv.go Loading commit data...
strconv_test.go Loading commit data...
tar_test.go Loading commit data...
writer.go Loading commit data...
writer_test.go Loading commit data...