[Lsb-messages] /var/www/bzr/lsb/devel/dbadmin r289: finish the fix to pointer-to-array (bug 3840)
Mats Wichmann
mats at linuxfoundation.org
Sat Aug 24 16:14:32 UTC 2013
------------------------------------------------------------
revno: 289
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: dbadmin
timestamp: Sat 2013-08-24 10:14:32 -0600
message:
finish the fix to pointer-to-array (bug 3840)
modified:
type_single.inc
-------------- next part --------------
=== modified file 'type_single.inc'
--- a/type_single.inc 2013-08-23 06:18:55 +0000
+++ b/type_single.inc 2013-08-24 16:14:32 +0000
@@ -1124,7 +1124,11 @@
displaytype($entry, $AppVer, $WithdrawnVer, 1, $struct_anon_member);
if( $entry['Ttype'] != 'FuncPtr' and $bentry['Ttype'] != 'FuncPtr' ) {
- print " ".$tmentry['TMname'];
+ if( $entry['Ttype'] == 'Pointer' and $bentry['Ttype'] == 'Array' ) {
+ print " (".$tmentry['TMname'].")";
+ } else {
+ print " ".$tmentry['TMname'];
+ }
// Adding code to support both values from TMarray and ATsize for Array bounds.
// TMarray condition should be removed once we deprecate it.
if( $entry['Ttype'] == 'Array' ) {
More information about the lsb-messages
mailing list