Bug 9751 – [cov] Coverage generation should emit non-problematic file names

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-18T14:05:57Z
Last change time
2024-12-07T13:32:20Z
Keywords
pull
Assigned to
No Owner
Creator
Andrej Mitrovic
Moved to GitHub: dmd#17119 →

Comments

Comment #0 by andrej.mitrovich — 2013-03-18T14:05:57Z
Report by timotheecour: 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: mv "-Users-timothee-test-test_01.lst" temp.lst yields: mv: illegal option --U, etc. Even worse in the following case: rdmd --force -cov -I.. ../temp1/test_024.d generates: ..-temp1-test_01.lst which is invisible by ls (requires ls -a) probably similar with ".".
Comment #1 by andrej.mitrovich — 2013-03-18T14:06:57Z
Comment #2 by robert.schadek — 2024-12-07T13:32:20Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17119 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB