The Samba-Bugzilla – Attachment 8387 Details for
Bug 9546
Configure does not reliably detect aio_suspend on FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
9546.patch (text/plain), 927 bytes, created by
Volker Lendecke
on 2013-01-07 18:56:05 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2013-01-07 18:56:05 UTC
Size:
927 bytes
patch
obsolete
>From 68b1753b018d8b2d55d33ee6faf20ab5bd0151e9 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 7 Jan 2013 11:06:15 +0100 >Subject: [PATCH] configure: Fix bug 9546, aio_suspend detection on FreeBSD > >NULL is not defined without some includes >--- > source3/configure.in | 2 +- > 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) > >diff --git a/source3/configure.in b/source3/configure.in >index a298183..0f805ee 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -5877,7 +5877,7 @@ int main() { struct aiocb a; return aio_cancel(1, &a); }], > > AC_MSG_CHECKING(for aio_suspend) > AC_LINK_IFELSE([#include <aio.h> >-int main() { struct aiocb a; return aio_suspend(&a, 1, NULL); }], >+int main() { struct aiocb a; struct timespec t; return aio_suspend(&a, 1, &t); }], > [AC_DEFINE(HAVE_AIO_SUSPEND, 1, [Have aio_suspend]) AC_MSG_RESULT(yes)], > [AC_MSG_RESULT(no)]) > fi >-- >1.7.11.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
rsharpe
:
review+
jra
:
review+
Actions:
View
Attachments on
bug 9546
: 8387 |
8388
|
8397