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

          Issue ID: 15005
           Summary: Coverage files start with a dash character when using
                    full pathname for source files with -cov
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

dmd turns slashes to "-" characters so that foo/bar.d produces a foo-bar.lst
file. Unfortunately, if full paths are used, the file ends up being
-path-to-my-file.lst, which starts with a dash character and makes it really
hard to use the shell to list or do anything with them since they're
interpreted as command-line options. The fix would be to ignore leading
slashes.

--

Reply via email to