www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: cbkbbejeap mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap 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: -------
Feb 13 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12149



--- Comment #1 from Nick Sabalausky <cbkbbejeap mailinator.com> 2014-02-13
00:45:54 PST ---
Pull request: https://github.com/D-Programming-Language/tools/pull/114

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 13 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12149


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2014-02-13 07:11:30 PST ---
master branch:
https://github.com/D-Programming-Language/tools/commit/24823d08bbcfaf601091ab1a30132a168803bdfe

2.065 branch:
https://github.com/D-Programming-Language/tools/commit/9236321d3753790797ce28691d28970e76db7b2f

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 13 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12149



--- Comment #3 from github-bugzilla puremagic.com 2014-02-13 09:37:00 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/tools

https://github.com/D-Programming-Language/tools/commit/99d3901701253396821c2d9f63d763ee1299fb80
Add test-case for Issue 12149 - RDMD -of switch doesn't append .exe to an
executable on Windows.

https://github.com/D-Programming-Language/tools/commit/a4294fa0b11bfba8412a6fc198edfa7677d50938
Merge pull request #116 from AndrejMitrovic/Test12149

Add test-case for Issue 12149 - RDMD -of switch doesn't append .exe to an
executable on Windows.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 13 2014