-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
std.tar: handle tar files with symbolic links #16678
Copy link
Copy link
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Zig Version
0.11.0-dev.4404+4f6013bf5
Steps to Reproduce and Observed Behavior
Use any
data.tar.gzbelow that contains a symbolic link.You'll get a
TarUnsupportedFileTypewhich is explicitly returned fromstd.tarif it seems a symlink.Expected Behavior
This should work. A lot of source archives for the Zig package manager contain symbolic links. Major source archives that I use that have symbolic links:
This will also impair #16643 (not block) because downloading source archives for me will be a big use case.