[Issue 17167] New: dmd fails to write to file with 6 or more ".." in the path

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 9 09:58:33 PST 2017


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

          Issue ID: 17167
           Summary: dmd fails to write to file with 6 or more ".." in the
                    path
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: atila.neves at gmail.com

I saw this while running dub on Windows:

Error: Error writing file
'..\..\..\..\..\..\AppData\Roaming\dub\packages\taggedalgebraic-0.10.5\taggedalgebraic\.dub\build\library-debug-windows-x86-dmd_2073-20BD164B4B4CA7B99E316352127B8128\taggedalgebraic.lib'

If I move the source directory up one directory this stops happening (i.e., dmd
would write the output library to
'..\..\..\..\..\AppData\Roaming\dub\packages\taggedalgebraic-0.10.5\taggedalgebraic\.dub\build\library-debug-windows-x86-dmd_2073-20BD164B4B4CA7B99E316352127B8128\taggedalgebraic.lib'
instead, and successfully)

--


More information about the Digitalmars-d-bugs mailing list