Alexandre Julliard : make_specfiles: Properly replace commented out exports .

Alexandre Julliard julliard at winehq.org
Wed May 4 13:47:40 CDT 2011


Module: wine
Branch: master
Commit: 83a8c45dc413b69ad5e7e85c2c5ce643d4475952
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=83a8c45dc413b69ad5e7e85c2c5ce643d4475952

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed May  4 13:45:36 2011 +0200

make_specfiles: Properly replace commented out exports.

---

 tools/make_specfiles |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/make_specfiles b/tools/make_specfiles
index 73dd2bf..b03fe54 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -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;




More information about the wine-cvs mailing list