[2/2] c2man: We don't have multiple dlls in one directory anymore

André Hentschel nerv at dawncrow.de
Fri Jul 29 12:34:23 CDT 2011


sometimes important functions are in files seperate from file with exportet functions
this time i checked it doesn't break the build ;)
---
 tools/c2man.pl |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/tools/c2man.pl b/tools/c2man.pl
index 9c67488..ce8a444 100755
--- a/tools/c2man.pl
+++ b/tools/c2man.pl
@@ -1133,13 +1133,12 @@ sub output_spec($)
     $percent_documented = int($percent_documented);
   }
 
-  # Make a list of the contributors to this DLL. Do this only for the source
-  # files that make up the DLL, because some directories specify multiple dlls.
+  # Make a list of the contributors to this DLL.
   my @contributors;
 
-  for (@{$spec_details->{SOURCES}})
+  foreach my $source_file (keys %source_files)
   {
-    my $source_details = $source_files{$_}[0];
+    my $source_details = $source_files{$source_file}[0];
     for (@{$source_details->{CONTRIBUTORS}})
     {
       push (@contributors, $_);
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list