[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2181: Fix dumping of arch-specific ATattribute

Denis Silakov dsilakov at gmail.com
Tue Jan 14 20:33:06 UTC 2014


------------------------------------------------------------
revno: 2181
committer: Denis Silakov <dsilakov at gmail.com>
branch nick: build_env
timestamp: Wed 2014-01-15 00:33:06 +0400
message:
  Fix dumping of arch-specific ATattribute
modified:
  headers/sys/epoll.h
  specdb.pm
-------------- next part --------------
=== modified file 'headers/sys/epoll.h'
--- a/headers/sys/epoll.h	2014-01-14 19:59:37 +0000
+++ b/headers/sys/epoll.h	2014-01-14 20:33:06 +0000
@@ -37,13 +37,13 @@
 	epoll_data_t data;
     }
 #if defined __i386__
-/* IA32 */ (__packed__)
+/* IA32 */  __attribute__ ((__packed__))
 #endif
 #if defined __x86_64__
 /* x86-64 */
-     (__packed__)
+	__attribute__ ((__packed__))
 #endif
-    ;
+	;
 
 
 /* Function prototypes */

=== modified file 'specdb.pm'
--- a/specdb.pm	2014-01-14 19:59:37 +0000
+++ b/specdb.pm	2014-01-14 20:33:06 +0000
@@ -170,7 +170,7 @@
             $entry = $attrh->fetchrow_hashref;
             print "#if ".$entry->{'Asymbol'}."\n";
             print "/* ".$entry->{'Aname'}." */\n";
-            print $entry->{'ATattribute'}."\n";
+            print "__attribute__ (".$entry->{'ATattribute'}.")\n";
             print "#endif\n";
         }
         $attrh->finish;



More information about the lsb-messages mailing list