[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2139: One more fix for processing of 'pointer to array' type members

Denis Silakov denis.silakov at rosalab.ru
Fri Aug 23 06:17:44 UTC 2013


------------------------------------------------------------
revno: 2139
committer: Denis Silakov <denis.silakov at rosalab.ru>
branch nick: build_env
timestamp: Fri 2013-08-23 10:17:44 +0400
message:
  One more fix for processing of 'pointer to array' type members
modified:
  specdb.pm
-------------- next part --------------
=== modified file 'specdb.pm'
--- a/specdb.pm	2013-08-23 06:09:04 +0000
+++ b/specdb.pm	2013-08-23 06:17:44 +0000
@@ -730,7 +730,8 @@
                     $suffix = "[]";
                 }
             } elsif( $entry->{'Ttype'} eq 'Pointer' ) {
-                $baseselect ="SELECT Ttype FROM Type ";
+                $baseselect ="SELECT DISTINCT Ttype, ATbasetype, ATsize FROM Type ";
+                $baseselect.="JOIN ArchType ON ATtid=Tid ";
                 $baseselect.="WHERE Tid=$entry->{'ATbasetype'} ";
                 $bth = $dbh->prepare($baseselect) or die "Couldn't prepare $baseselect query: ".DBI->errstr;
                 $bth->execute or die "Couldn't execute $baseselect query: ".DBI->errstr;



More information about the lsb-messages mailing list