[Bug 1168] libchk outputs failures for Qt classes with inheritance

[email protected] Wed, 25 Jan 2006 06:45:40 -0500
Newsgroups gmane.linux.lsb.test-suite
Message-ID <[email protected]>


------- Additional Comments From [email protected]  2006-01-25 06:45 -------
This patch fixes the wrongly calculated number of virtual functions in classes 
with more than one vtable, please review: 
 
Index: mkfunclist 
=================================================================== 
RCS file: /cvsroot/lsb/tests/misc/libchk/mkfunclist,v 
retrieving revision 1.45 
diff -u -3 -p -r1.45 mkfunclist 
--- mkfunclist  13 Jan 2006 14:05:29 -0000      1.45 
+++ mkfunclist  25 Jan 2006 11:43:11 -0000 
@@ -155,7 +155,7 @@ for(1..$vsth->numrows) { 
 } 
 
 print $LIB "\t".$category.",\t/* Vtable category */\n"; 
-print $LIB "\t".$numvtablefuns.",\t/* Number of Vfuncs */\n"; 
+print $LIB "\t".$entry{'CVnumvtfuncs'}.",\t/* Number of Vfuncs */\n"; 
 print $LIB "\t\"".getinterfacename($rttiid)."\",\n"; 
 print $LIB "\t".$vtablename."_name_$pos,\n"; 
 print $LIB "\t},\n";    
 
--    
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.