mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
If stub name is of the form function@0, output as function@0@0 in the .def
file because the last @0 will be stripped later on svn path=/trunk/; revision=11799
This commit is contained in:
@@ -886,6 +886,20 @@ void BuildDef32File( FILE *outfile, DLLSPEC *spec )
|
||||
}
|
||||
case TYPE_STUB:
|
||||
{
|
||||
if (!kill_at)
|
||||
{
|
||||
const char *check = name + strlen(name);
|
||||
while (name != check &&
|
||||
'0' <= check[-1] && check[-1] <= '9')
|
||||
{
|
||||
check--;
|
||||
}
|
||||
if (name != check && check != name + strlen(name) &&
|
||||
'@' == check[-1])
|
||||
{
|
||||
fprintf(outfile, "%s", check - 1);
|
||||
}
|
||||
}
|
||||
if (NULL != odp->name)
|
||||
{
|
||||
fprintf(outfile, "=%s", make_internal_name( odp, spec, "stub" ));
|
||||
|
||||
Reference in New Issue
Block a user