The Samba-Bugzilla – Attachment 10504 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]
additional v4-2-test patch
0001-socket_wrapper-Add-missing-prototype-check-for-event.patch (text/plain), 1.41 KB, created by
Andreas Schneider
on 2014-12-08 16:31:06 UTC
(
hide
)
Description:
additional v4-2-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2014-12-08 16:31:06 UTC
Size:
1.41 KB
patch
obsolete
>From 18dceee5885c536eaa8f0c79df1e77b44e5f6514 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Wed, 26 Nov 2014 10:18:34 +0100 >Subject: [PATCH] socket_wrapper: Add missing prototype check for eventfd. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=10965 > >Newer glibc versions use and unsinged integer for the count instead of >an integer. > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Stefan Metzmacher <metze@samba.org> >(cherry picked from commit 78e8bafb322ec69c5ff4b32a5e1c5679c9dea6bf) >--- > lib/socket_wrapper/wscript | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript >index de5bedd..4a18a47 100644 >--- a/lib/socket_wrapper/wscript >+++ b/lib/socket_wrapper/wscript >@@ -88,6 +88,11 @@ def configure(conf): > 'int ioctl(int s, int r, ...)', > define='HAVE_IOCTL_INT', headers='unistd.h sys/ioctl.h') > >+ if conf.CONFIG_SET("HAVE_EVENTFD"): >+ conf.CHECK_C_PROTOTYPE('eventfd', >+ 'int eventfd(unsigned int count, int flags)', >+ define='HAVE_EVENTFD_UNSIGNED_INT', headers='sys/eventfd.h') >+ > # Create full path to socket_wrapper > srcdir = os.path.realpath(conf.srcdir) > libsocket_wrapper_so_path = srcdir + '/bin/default/lib/socket_wrapper/libsocket-wrapper.so' >-- >2.2.0 >
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