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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Nick Sabalausky <[email protected]> 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: -------

Reply via email to