[Issue 3547] for option -od for relative path the path is added twice

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 17 12:04:09 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3547


Vladimir <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |thecybershadow at gmail.com
            Version|2.036                       |2.014
           Severity|trivial                     |regression


--- Comment #1 from Vladimir <thecybershadow at gmail.com> 2009-12-17 12:04:08 PST ---
Some more findings:
 - this is a regression in DMD 2.014 / 1.030
 - the bug only manifests when the -of option is present

Attaching a patch which fixes it. The patch changes the module.c code to not
prepend global.params.objdir to filename if global.params.objname is set (in
which case, the prepending had already been done in mars.c).

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


More information about the Digitalmars-d-bugs mailing list