[Issue 17167] dmd fails to write to file or create directory with more than 248 characters in the path

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 1 11:26:36 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17167

--- Comment #2 from Atila Neves <atila.neves at gmail.com> ---
After some investigation, it seems that dub specifying relative paths makes it
more likely to pass the 248 character limit, since Windows first appends the
current absolute path to the relative one. This is a known Windows limitation
up until an opt-in in Windows 10 to make the problem go away, and otherwise has
to be dealt with by calling the Unicode-aware Win32 file APIs.

--


More information about the Digitalmars-d-bugs mailing list