Skip to content
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

[1.3.x] Backport Fixes acquiring timestamp from a file with long path name on Windows #272

Merged
merged 4 commits into from
Sep 19, 2019

Conversation

eed3si9n and others added 4 commits September 19, 2019 16:56
In jdk >= 11, java returns millisecond precision timestamps if the file
system supports it. It's better to avoid the jna if we can.
It is necessary to prefix the file name passed into CreateFile with
"\\?\" to allow file names with more than max_path (260) characters on
windows:
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea..

Fixes sbt/sbt#5098.
@eed3si9n eed3si9n changed the title [1.3.x] Back port fixes [1.3.x] Backport Fixes acquiring timestamp from a file with long path name on Windows Sep 19, 2019
@eed3si9n eed3si9n merged commit 9da1743 into sbt:1.3.x Sep 19, 2019
@eed3si9n eed3si9n deleted the bport/windows branch September 19, 2019 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants