Bug 4683 – [patch] rdmd: -od clobbers preceeding -of

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2010-08-19T16:40:00Z
Last change time
2011-05-14T16:48:02Z
Assigned to
andrei
Creator
bus_dbugzilla

Attachments

IDFilenameSummaryContent-TypeSize
727rdmd.d.diffPatch against rdmd r1400text/plain936

Comments

Comment #0 by bus_dbugzilla — 2010-08-19T16:40:02Z
Created attachment 727 Patch against rdmd r1400 Assuming a program "main.d", and directories "bin/" and "obj/": > dmd -ofbin\myapp -odobj\ main.d [Creates "bin\myapp.exe"] > rdmd -ofbin\myapp -odobj\ main.d [Creates "obj\main.exe"] The result is an executable with the wrong name in the wrong directory.
Comment #1 by bus_dbugzilla — 2010-08-19T17:28:28Z
Over here is a unified patch against rdmd r1400 for #4672, #4683 and #4684: http://d.puremagic.com/issues/show_bug.cgi?id=4684
Comment #2 by bus_dbugzilla — 2010-08-19T17:47:22Z
This would be especially needed if "#4686: rdmd could use an incremental compilation option" ( http://d.puremagic.com/issues/show_bug.cgi?id=4686 ) is implemented.
Comment #3 by bus_dbugzilla — 2010-09-24T14:01:30Z
A combined patch for issues #4672, #4683, #4684, #4688, #4928, #4930 is here: http://d.puremagic.com/issues/show_bug.cgi?id=4930
Comment #4 by andrei — 2011-05-14T16:48:02Z