[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
Thu Mar 17 07:31:43 UTC 2022


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

--- Comment #10 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Geod24 updated dlang/dmd pull request #13828 "Simplify `Module.read` and its
interaction with `FileManager`" mentioning this issue:

- Windows: Make FileName.exists correctly work with long path

  While attempting to refactor Module.read not to call 'File.read' twice,
  test17167 started to fail. The only possible difference was that
  the first File.read call was conditional on FileName.exists succeeding,
  while the second call was inconditional.
  After a bit of research, it turns out that the fix for issue 17167
  was apparently missing one key detail (the prefix) to enable long path.
  This was not visible at the time because the fix for File.read was complete,
  and so the second attempt would succeed, hiding the issue.

https://github.com/dlang/dmd/pull/13828

--


More information about the Digitalmars-d-bugs mailing list