Bug 11494

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Sep 4 13:14:52 UTC 2015


Hi, Timur!

Attached find your patch for 11494 in git-format-patch form.  I took the
freedom to add your signed-off-by to it, together with my reviewed-by. Are
you ok with that? If so, someone else from the Team please review & push.

Regarding your other buildsystem patches -- I am not really a waf expert,
so this is better taken care of by others, sorry.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 7c5bb219e94ed2b9955cb864f9ce2fdd333bf814 Mon Sep 17 00:00:00 2001
From: Timur Bakeyev <timur at FreeBSD.org>
Date: Fri, 4 Sep 2015 15:03:24 +0200
Subject: [PATCH] configure: Fix aio_suspend detection

Signed-off-by: Timur Bakeyev <timur at FreeBSD.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11494
Reviewed-by: Volker Lendecke <vl at samba.org>
---
 source3/wscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/wscript b/source3/wscript
index 566adfb..33e36b1 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -563,7 +563,7 @@ return acl_get_perm_np(permset_d, perm);
             conf.CHECK_CODE('struct aiocb a; return aio_return(&a);', 'HAVE_AIO_RETURN', msg='Checking for aio_return', headers='aio.h', lib='aio rt')
             conf.CHECK_CODE('struct aiocb a; return aio_error(&a);', 'HAVE_AIO_ERROR', msg='Checking for aio_error', headers='aio.h', lib='aio rt')
             conf.CHECK_CODE('struct aiocb a; return aio_cancel(1, &a);', 'HAVE_AIO_CANCEL', msg='Checking for aio_cancel', headers='aio.h', lib='aio rt')
-            conf.CHECK_CODE('const struct aiocb * const a[1]; struct timespec t; return aio_suspend(&a, 1, &t);', 'HAVE_AIO_SUSPEND', msg='Checking for aio_suspend', headers='aio.h', lib='aio rt')
+            conf.CHECK_CODE('const struct aiocb * const a[1]; struct timespec t; return aio_suspend(a, 1, &t);', 'HAVE_AIO_SUSPEND', msg='Checking for aio_suspend', headers='aio.h', lib='aio rt')
         if not conf.CONFIG_SET('HAVE_AIO'):
             conf.DEFINE('HAVE_NO_AIO', '1')
     else:
-- 
1.9.1



More information about the samba-technical mailing list