Subject: Re: CVS commit: src
To: None <tech-kern@netbsd.org>
From: Mindaugas R. <rmind@NetBSD.org>
List: tech-kern
Date: 05/17/2007 20:20:27
This is a multi-part message in MIME format.

--Multipart=_Thu__17_May_2007_20_20_27_+0300__+D7t/LnhjnJ108k
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> (sizes of void * and size_t depend on ports.)
Understood. Structures like struct sigeven should always be aligned, right?
Can you OK the attached diff? Also, do you think it is worth bumping the
minor version of librt?

-- 
Best regards,
Mindaugas
www.NetBSD.org

--Multipart=_Thu__17_May_2007_20_20_27_+0300__+D7t/LnhjnJ108k
Content-Type: text/plain;
 name="aio.h.diff"
Content-Disposition: attachment;
 filename="aio.h.diff"
Content-Transfer-Encoding: 7bit

--- aio.h.orig	2007-05-08 01:58:01.000000000 +0300
+++ aio.h	2007-05-17 20:08:20.000000000 +0300
@@ -47,16 +47,17 @@
  * Defined in the Base Definitions volume of IEEE Std 1003.1-2001 .
  */
 struct aiocb {
-	int aio_fildes;			/* File descriptor */
 	off_t aio_offset;		/* File offset */
 	volatile void *aio_buf;		/* I/O buffer in process space */
 	size_t aio_nbytes;		/* Length of transfer */
+	int aio_fildes;			/* File descriptor */
+	int aio_lio_opcode;		/* LIO opcode */
 	int aio_reqprio;		/* Request priority offset */
+	int _pad;
 	struct sigevent aio_sigevent;	/* Signal to deliver */
-	int aio_lio_opcode;		/* LIO opcode */
 
 	/* Internal kernel variables */
-	char _state;			/* State of the job */
+	int _state;			/* State of the job */
 	int _errno;			/* Error value */
 	ssize_t _retval;		/* Return value */
 };

--Multipart=_Thu__17_May_2007_20_20_27_+0300__+D7t/LnhjnJ108k--