make_specfiles: Properly replace commented out exports.

This commit is contained in:
Alexandre Julliard 2011-05-04 13:45:36 +02:00
parent 693fb6d56c
commit 83a8c45dc4
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ sub update_spec_file($)
my %parent = %{$funcs{$func}};
goto done if $parent{spec} eq $descr{spec}; # the definition is in this spec file
if ($descr{callconv} ne "stub" && $descr{target} !~ /\./)
if ($descr{callconv} ne "stub" && $descr{target} !~ /\./ && !$commented_out)
{
printf "%s:%u: note: %s already defined in %s\n", $file, $., $func, $parent{spec} if $show_duplicates;
goto done;