[Issue 9311] shared library file extension incorrectly modified

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 13 08:15:12 PST 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-13 08:15:11 PST ---
My guess is this is to blame in dmars.c:

// None of that a.out stuff. Use explicit exe file name, or
// generate one from name of first source file.
global.params.exefile = FileName::forceExt(global.params.exefile,
global.dll_ext)->toChars();

If the only thing wanted is to replace "a.out" with "a.so", then `forceExt`
should check the extension before attempting to replace it. 

@Walter what's your take?

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