rdmd -cov generates bad file names with absolute directories or .. directories in -I flag
Andrej Mitrovic
andrej.mitrovich at gmail.com
Mon Mar 18 14:09:39 PDT 2013
On 3/18/13, timotheecour <timothee.cour2 at gmail.com> wrote:
> rdmd -cov /Users/timothee/test/test_01.d
> creates a file "-Users-timothee-test-test_01.lst"
>
> A)
> This leading "-" in filename is very unix unfriendly, eg:
http://d.puremagic.com/issues/show_bug.cgi?id=9751
There's a pull ready, which replaces invalid characters with an
underscore. It also does this for periods to avoid the ..\foo.d or
-I.. issue.
> Also, why not add dmd flag : -covd=dirname, in which all lst
> files will be generated?
File as enhancement:
http://d.puremagic.com/issues/show_bug.cgi?id=9752
More information about the Digitalmars-d-learn
mailing list