﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
104	emximp process def files with alias names in wrong way	froloff	bird	"emximp create wrong function name, while converted def file, provided alias name in EXPORT section.
For example, lines in input .def file[[BR]]

EXPORTS[[BR]]
; basic functions[[BR]]
	zlibVersion = _zlibVersion[[BR]]
	deflate = _deflate[[BR]]

will cause the following text in output .imp file (same for .a and .lib)[[BR]]
; -------- zlib2.lib --------[[BR]]
zlibVersion            ZLIB2    _zlibVersion ?[[BR]]
deflate                ZLIB2    _deflate ?[[BR]]

While the destination must looks like[[BR]]

; -------- zlib2.lib --------[[BR]]
_zlibVersion            ZLIB2    zlibVersion ?[[BR]]
_deflate                ZLIB2    deflate ?[[BR]]

The reason of this bug in emx\src\libmoddef\moddef2.c
Patch provided in attach.
This also emxomfld and emxbind. 
Some changes also preferable in weak.c, function symAddExport(), while parsing def file.
What's the reason to add external name symbol to search list, when internal name provided? This operation always cause uninformative emxomfld warning message, like


weakld: error: Unresolved symbol (UNDEF) 'deflate'."		new	normal	libc-0.6	emx	1.1	normal			
