commit | 0f569b0783d4a64ef210c9f9ddfd515b965fc04a | [log] [tgz] |
---|---|---|
author | Laszlo Csomor <laszlocsomor@google.com> | Thu Apr 04 02:06:00 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 04 02:07:47 2019 -0700 |
tree | a7e0de5990053952ba71964291335949db7423be | |
parent | 4b3c2ebcc45bf86d12106211f584ddc2bbe50520 [diff] |
Windows, JNI: rewrite CreateJunction In this PR: - replace custom JunctionDescription definition with REPARSE_DATA_BUFFER from MSDN - clean up kMaxJunctionTargetLen computation - use already-computed offsets when creating the PathBuffer Motivation: - I'm implementing readSymbolicLink. It should handle junctions as well as symlinks. (There can be pre-existing symlink created from Admin shells, or the user may have enabled unprivileged symlink creation.) - REPARSE_DATA_BUFFER contains structs in a union for junction and symlink data, and is the idiomatic struct definition to work with FSCTL_SET_REPARSE_POINT/FSCTL_GET_REPARSE_POINT. See https://github.com/bazelbuild/bazel/issues/7907 Closes #7928. PiperOrigin-RevId: 241891547
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.