The Samba-Bugzilla – Attachment 10475 Details for
Bug 10965
Missing eventfd prototype check in socket_wrapper for newer glibc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v4-2-test patch
0001-swrap-Add-support-for-eventfd-with-unsigned-count-va.patch (text/plain), 991 bytes, created by
Andreas Schneider
on 2014-12-02 09:52:34 UTC
(
hide
)
Description:
v4-2-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2014-12-02 09:52:34 UTC
Size:
991 bytes
patch
obsolete
>From d86f1842a4c749fbebd7052deecb020b7c02d1f5 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Thu, 2 Oct 2014 07:25:32 +0200 >Subject: [PATCH] swrap: Add support for eventfd with unsigned count variable. > >The prototype in glibc 2.20.90 changed. > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Stefan Metzmacher <metze@samba.org> >(cherry picked from commit afe2f47c0fd17c215857e800296de795d48c004d) >--- > lib/socket_wrapper/socket_wrapper.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c >index 67303eb..3ec51b0 100644 >--- a/lib/socket_wrapper/socket_wrapper.c >+++ b/lib/socket_wrapper/socket_wrapper.c >@@ -4845,7 +4845,11 @@ static int swrap_eventfd(int count, int flags) > return fd; > } > >+#ifdef HAVE_EVENTFD_UNSIGNED_INT >+int eventfd(unsigned int count, int flags) >+#else > int eventfd(int count, int flags) >+#endif > { > return swrap_eventfd(count, flags); > } >-- >2.1.2 >
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
Actions:
View
Attachments on
bug 10965
:
10475
|
10504
|
10505