From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQh5p-0004we-PD for qemu-devel@nongnu.org; Sat, 24 Jan 2009 06:54:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQh5m-0004w6-8C for qemu-devel@nongnu.org; Sat, 24 Jan 2009 06:54:28 -0500 Received: from [199.232.76.173] (port=60169 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQh5i-0004vp-VK for qemu-devel@nongnu.org; Sat, 24 Jan 2009 06:54:23 -0500 Received: from savannah.gnu.org ([199.232.41.3]:46212 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQh5i-0006ZH-Lw for qemu-devel@nongnu.org; Sat, 24 Jan 2009 06:54:22 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LQh5i-0000p8-7I for qemu-devel@nongnu.org; Sat, 24 Jan 2009 11:54:22 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LQh5h-0000p4-TB for qemu-devel@nongnu.org; Sat, 24 Jan 2009 11:54:22 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 24 Jan 2009 11:54:21 +0000 Subject: [Qemu-devel] [6414] Rename sigev_signo to avoid FreeBSD problems (Juergen Lock) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6414 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6414 Author: blueswir1 Date: 2009-01-24 11:54:21 +0000 (Sat, 24 Jan 2009) Log Message: ----------- Rename sigev_signo to avoid FreeBSD problems (Juergen Lock) Modified Paths: -------------- trunk/block-raw-posix.c trunk/posix-aio-compat.c trunk/posix-aio-compat.h Modified: trunk/block-raw-posix.c =================================================================== --- trunk/block-raw-posix.c 2009-01-23 19:56:19 UTC (rev 6413) +++ trunk/block-raw-posix.c 2009-01-24 11:54:21 UTC (rev 6414) @@ -579,7 +579,7 @@ if (!acb) return NULL; acb->aiocb.aio_fildes = s->fd; - acb->aiocb.sigev_signo = SIGUSR2; + acb->aiocb.ev_signo = SIGUSR2; acb->aiocb.aio_buf = buf; if (nb_sectors < 0) acb->aiocb.aio_nbytes = -nb_sectors; Modified: trunk/posix-aio-compat.c =================================================================== --- trunk/posix-aio-compat.c 2009-01-23 19:56:19 UTC (rev 6413) +++ trunk/posix-aio-compat.c 2009-01-24 11:54:21 UTC (rev 6414) @@ -94,7 +94,7 @@ idle_threads++; pthread_mutex_unlock(&lock); - kill(getpid(), aiocb->sigev_signo); + kill(getpid(), aiocb->ev_signo); } idle_threads--; Modified: trunk/posix-aio-compat.h =================================================================== --- trunk/posix-aio-compat.h 2009-01-23 19:56:19 UTC (rev 6413) +++ trunk/posix-aio-compat.h 2009-01-24 11:54:21 UTC (rev 6414) @@ -29,7 +29,7 @@ int aio_fildes; void *aio_buf; size_t aio_nbytes; - int sigev_signo; + int ev_signo; off_t aio_offset; /* private */