diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2017-01-10 10:41:26 +0000 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-01-10 11:51:20 +0000 |
commit | 44ecf9a0c7c25496a43f59f1c8f20df9527e12cb (patch) | |
tree | c7580369cd3b0e7426b569d9638addaec4c00b0d /src/main/java | |
parent | 12bf5ba34f70200eccc9e5f9b2f27d91d4514d77 (diff) |
Windows: implement and use AsShortWindowsPath
Because CreateProcessW doesn't support long paths,
not even with the "\\?\" prefix [1], we need to
convert long paths to short ones to spawn
processes. This change implements the
corresponding function and uses it in
blaze_util_windows.
[1] https://github.com/bazelbuild/bazel/issues/2181#issuecomment-270696173
See https://github.com/bazelbuild/bazel/issues/2107
See https://github.com/bazelbuild/bazel/issues/2181
--
PiperOrigin-RevId: 144062404
MOS_MIGRATED_REVID=144062404
Diffstat (limited to 'src/main/java')
0 files changed, 0 insertions, 0 deletions