c2man: Initialise current comment info

André Hentschel nerv at dawncrow.de
Sat Jun 11 09:45:24 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27450
---
 tools/c2man.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/c2man.pl b/tools/c2man.pl
index 8030bc4..9c67488 100755
--- a/tools/c2man.pl
+++ b/tools/c2man.pl
@@ -420,6 +420,7 @@ sub process_source_file($)
     if ($parse_state == 4) # Reading in the function definition
     {
       # This file is used by the DLL - Make sure we get our contributors right
+      @{$spec_files{$comment->{DLL_NAME}}[0]->{CURRENT_EXTRA}} = ();
       push (@{$spec_files{$comment->{DLL_NAME}}[0]->{SOURCES}},$comment->{FILE});
 
       push (@{$comment->{PROTOTYPE}},$_);
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list