drop the visual studio version (v=vs.85) to make the link stabler.
The other patch with the UNC fix changed this to FILE_NAME_OPENED so 8.
This comment is inaccurate, device paths \\?\ paths are exempt from MAX_PATH as MAX_PATH is an API level limitation, \\?\ means pass it directly to the underlying filesystem, as such, API limits don't apply.
Fixed. I'm even directly using FILE_NAME_OPENED to make it crystal clear now.
I removed the reference to MAX_PATH and rather tried to turn this into a comment about how we try bigger buffers until we supply one that's big enough to contain the result. Hopefully this is more helpful.
WIth the changelog entry this is ok from me. I'll OK it after that.
You're the only one who can tick the box, unless we commandeer the revision :), with documentation I believe @bgamari meant in the changelog https://github.com/ghc/ghc/blob/master/libraries/base/changelog.md since this is a user visible function.