André Hentschel : c2man: We don' t have multiple dlls in one directory anymore.

Alexandre Julliard julliard at winehq.org
Mon Aug 1 13:22:13 CDT 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Fri Jul 29 19:34:23 2011 +0200

c2man: We don't have multiple dlls in one directory anymore.

---

 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, $_);




More information about the wine-cvs mailing list