[Issue 11609] New: Use better substituted characters in coverage output filenames
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 26 10:27:59 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11609
Summary: Use better substituted characters in coverage output
filenames
Product: D
Version: D2
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: hsteoh at quickfur.ath.cx
--- Comment #0 from hsteoh at quickfur.ath.cx 2013-11-26 10:27:58 PST ---
Currently, if dmd -cov is invoked on an absolute pathname, e.g.,
/mnt/1/src/mysource.d, then when you run the program, it produces the coverage
report in a file named -mnt-1-src-mysource.d.
The use of '-' here as a substitute character for '/' is unfortunate, because
it interacts badly with Unix tools. E.g., you have to type:
rm -- -mnt-1-src-mysource.d
instead of just:
rm -mnt-1-src-mysource.d
because the initial '-' gets misinterpreted as an option.
Suggestion: use '_' instead of '-' as the substitute character.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list