commit | 6ff38a644c0cf038a0ee994513fd3af115130b2c | [log] [tgz] |
---|---|---|
author | mai93 <messa@google.com> | Sat Jan 09 10:07:03 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Jan 09 10:08:05 2021 -0800 |
tree | 3cc7d7ee59058345521bf563dec3b91bc1f319e1 | |
parent | bcd7cdc202b7144a268367786c0708e2cb87e969 [diff] |
Update Tar decompress function to handle symlinks after their targets This PR updates the Tar archive decompress function to handle symbolic links entries only after their target is created. If the symbolic link target does not exist on the time the link entry is being processed, we store the link entry so it will be processed once their target entry is extracted. This is done to avoid a problem that happens on Windows where dangling junctions are created for file symlinks whose targets are part of the archive being decompressed but come after the link entry in the archive stream. Fixes: #10399 Closes #12763. PiperOrigin-RevId: 350936157
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md