-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: fix writing java.log #6100
Conversation
Fixes bazelbuild#6099 Fixes bazelbuild#6098 Related to bazelbuild#2576 Change-Id: Iabff91cca715d08e2977234e8615b2e0bf8a5dbc
This patch also fixes the uncaught exception in |
src/main/cpp/util/path_windows.cc
Outdated
// See https://github.com/bazelbuild/bazel/issues/2576 and | ||
// https://github.com/bazelbuild/bazel/issues/6098 | ||
std::string::size_type pos = 0; | ||
while (true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this quadratic? Mind you, not that the strings in question are very long (cue PATH_MAX), but if there is a simple way...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're fully right. Let me fix that.
Change-Id: Ie2afe0b44c9f54f1339bb4850fa5c3a1dc61c4e0
Change-Id: Ib55e01b5a82315d2a5f1a861f56079013d1cfec8
Fixes #6099
Fixes #6098
Related to #2576
Change-Id: Iabff91cca715d08e2977234e8615b2e0bf8a5dbc