[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2290: fix up aiocb's __pad member (bug 1391)

Mats Wichmann mats at linuxfoundation.org
Tue Jul 29 14:27:57 UTC 2014


------------------------------------------------------------
revno: 2290
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Tue 2014-07-29 08:27:57 -0600
message:
  fix up aiocb's __pad member (bug 1391)
modified:
  headers/All/5.0/aio.h.defs
  headers/All/5.1/aio.h.defs
  headers/aio.h
  package/Makefile
-------------- next part --------------
=== modified file 'headers/All/5.0/aio.h.defs'
--- a/headers/All/5.0/aio.h.defs	2014-07-29 14:16:13 +0000
+++ b/headers/All/5.0/aio.h.defs	2014-07-29 14:27:57 +0000
@@ -23,7 +23,7 @@
     int __error_code;
     ssize_t __return_value;
     off_t aio_offset;		/* File offset. */
-    char __pad[1];
+    char __pad[sizeof(off64_t) - sizeof(off_t)];
     char __unused[32];
 };
 struct aiocb64 {

=== modified file 'headers/All/5.1/aio.h.defs'
--- a/headers/All/5.1/aio.h.defs	2014-07-29 14:16:13 +0000
+++ b/headers/All/5.1/aio.h.defs	2014-07-29 14:27:57 +0000
@@ -23,7 +23,7 @@
     int __error_code;
     ssize_t __return_value;
     off_t aio_offset;		/* File offset. */
-    char __pad[1];
+    char __pad[sizeof(off64_t) - sizeof(off_t)];
     char __unused[32];
 };
 struct aiocb64 {

=== modified file 'headers/aio.h'
--- a/headers/aio.h	2014-07-29 14:16:13 +0000
+++ b/headers/aio.h	2014-07-29 14:27:57 +0000
@@ -49,7 +49,7 @@
 	int __error_code;
 	ssize_t __return_value;
 	off_t aio_offset;	/* File offset. */
-	char __pad[1];
+	char __pad[sizeof(off64_t) - sizeof(off_t)];
 	char __unused[32];
     };
 

=== modified file 'package/Makefile'
--- a/package/Makefile	2014-07-29 14:16:13 +0000
+++ b/package/Makefile	2014-07-29 14:27:57 +0000
@@ -50,7 +50,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-BUILDNO=3
+BUILDNO=4
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)



More information about the lsb-messages mailing list