Alexandre Julliard : make_specfiles: Support a magic comment to prevent forwarding an entry point.

Alexandre Julliard julliard at winehq.org
Wed Sep 14 12:25:41 CDT 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Sep 14 16:29:35 2011 +0200

make_specfiles: Support a magic comment to prevent forwarding an entry point.

---

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

diff --git a/tools/make_specfiles b/tools/make_specfiles
index ff21ca8..89af185 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -202,6 +202,7 @@ sub update_spec_file($)
 
         my %parent = %{$funcs{$func}};
         goto done if $parent{spec} eq $descr{spec};  # the definition is in this spec file
+        goto done if $descr{comment} && $descr{comment} =~ /don't forward/;
         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;




More information about the wine-cvs mailing list