[Issue 8967] dirEntries throws when encountering a "long path" on windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 18 20:44:09 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=8967
Stefan Liebig <StefanLiebig at web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |StefanLiebig at web.de
--- Comment #12 from Stefan Liebig <StefanLiebig at web.de> ---
I am currently struggling with this limitation and I wonder how e.g. the JVM
deals with this limitation.
As you probably know when using Java IO this limitation does not exist although
the JVM uses the win32 API.
A little bit of research (google) leads to
https://stackoverflow.com/questions/10094365/how-does-java-circumvent-the-windows-max-path-winapi-limitation
And it seems that the JVM internally does the required prefixing with "\\?\" of
path names before calling the win32 API.
--
More information about the Digitalmars-d-bugs
mailing list