• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...