[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
Mon Apr 9 13:19:49 UTC 2018


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

--- Comment #9 from Atila Neves <atila.neves at gmail.com> ---
Have you checked this page?

https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx

I filed this bug because dub was using relative paths and ended up trying to
link to
..\..\..\..\..\Users\%USERNAME%\AppData\Roaming\dub\packages\package-name-version\package-name.

Before the fix, if the dub path with several .. was too large (which happened
often), nothing would work. Now, it does.

It's possible that passing in an absolute path is different. I would still say
that it's a new bug.

--


More information about the Digitalmars-d-bugs mailing list