mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +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:
parent
6e2b742680
commit
1f759dcf55
1 changed files with 14 additions and 0 deletions
|
@ -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" ));
|
||||
|
|
Loading…
Reference in a new issue