[Issue 12149] New: Win RDMD: ".exe" no longer auto-added when -of is used

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 13 00:28:10 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12149

           Summary: Win RDMD: ".exe" no longer auto-added when -of is used
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: tools
        AssignedTo: nobody at puremagic.com
        ReportedBy: cbkbbejeap at mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2014-02-13 00:28:08 PST ---
> rdmd -ofprog prog.d

On 2.064.2 and below, that produces "prog.exe". On 2.065-b3 it produces "prog"
with no .exe extension. Then it tries to run "prog.exe" which, if you're lucky
doesn't already exist, or if you're unlucky already exists as an older version
of your program.

This appears to occur because of the change where RDMD now appends ".tmp" to
the -of arg it passes DMD, and then removes the ".tmp" extension after DMD
succeeds. DMD sees the ".tmp" extension and therefore decides it doesn't need
to auto-add a .exe extension.

-- 
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