[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2289: fix aiocb and aiocb64 __unused field (bug 1391)
Mats Wichmann
mats at linuxfoundation.org
Tue Jul 29 14:16:13 UTC 2014
------------------------------------------------------------
revno: 2289
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Tue 2014-07-29 08:16:13 -0600
message:
fix aiocb and aiocb64 __unused field (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 2013-07-24 22:25:33 +0000
+++ b/headers/All/5.0/aio.h.defs 2014-07-29 14:16:13 +0000
@@ -24,7 +24,7 @@
ssize_t __return_value;
off_t aio_offset; /* File offset. */
char __pad[1];
- char __unused[1];
+ char __unused[32];
};
struct aiocb64 {
int aio_fildes;
@@ -39,7 +39,7 @@
int __error_code;
ssize_t __return_value;
off64_t aio_offset;
- char __unused[1];
+ char __unused[32];
};
extern int aio_cancel(int fildes, struct aiocb *aiocbp);
extern int aio_cancel64(int fildes, struct aiocb64 *aiocbp);
=== modified file 'headers/All/5.1/aio.h.defs'
--- a/headers/All/5.1/aio.h.defs 2014-02-20 15:21:52 +0000
+++ b/headers/All/5.1/aio.h.defs 2014-07-29 14:16:13 +0000
@@ -24,7 +24,7 @@
ssize_t __return_value;
off_t aio_offset; /* File offset. */
char __pad[1];
- char __unused[1];
+ char __unused[32];
};
struct aiocb64 {
int aio_fildes;
@@ -39,7 +39,7 @@
int __error_code;
ssize_t __return_value;
off64_t aio_offset;
- char __unused[1];
+ char __unused[32];
};
extern int aio_cancel(int fildes, struct aiocb *aiocbp);
extern int aio_cancel64(int fildes, struct aiocb64 *aiocbp);
=== modified file 'headers/aio.h'
--- a/headers/aio.h 2013-07-24 22:25:33 +0000
+++ b/headers/aio.h 2014-07-29 14:16:13 +0000
@@ -50,7 +50,7 @@
ssize_t __return_value;
off_t aio_offset; /* File offset. */
char __pad[1];
- char __unused[1];
+ char __unused[32];
};
struct aiocb64 {
@@ -66,7 +66,7 @@
int __error_code;
ssize_t __return_value;
off64_t aio_offset;
- char __unused[1];
+ char __unused[32];
};
=== modified file 'package/Makefile'
--- a/package/Makefile 2014-07-28 16:52:05 +0000
+++ b/package/Makefile 2014-07-29 14:16:13 +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=2
+BUILDNO=3
# 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