The Samba-Bugzilla – Attachment 6359 Details for
Bug 7624
logs fill up with s3_event: sys_select() failed: 9:Bad file descriptor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make FD_SETSIZE tuneable for select(2) with more FDs
samba-3.5.8-FD_SETSIZE.patch (text/plain), 1.24 KB, created by
SATOH Fumiyasu
on 2011-03-30 07:13:32 UTC
(
hide
)
Description:
Make FD_SETSIZE tuneable for select(2) with more FDs
Filename:
MIME Type:
Creator:
SATOH Fumiyasu
Created:
2011-03-30 07:13:32 UTC
Size:
1.24 KB
patch
obsolete
>From a37fa8647aefd5ae7c203b359c562e578a96ac01 Mon Sep 17 00:00:00 2001 >From: SATOH Fumiyasu <fumiyas@osstech.co.jp> >Date: Wed, 30 Mar 2011 15:55:46 +0900 >Subject: [PATCH] s3: Make FD_SETSIZE tuneable for select(2) with more FDs > >--- > lib/replace/replace.h | 12 ++++++++++++ > source3/configure.in | 1 + > 2 files changed, 13 insertions(+), 0 deletions(-) > >diff --git a/lib/replace/replace.h b/lib/replace/replace.h >index 6424d10..17aea1f 100644 >--- a/lib/replace/replace.h >+++ b/lib/replace/replace.h >@@ -32,6 +32,18 @@ > #include "config.h" > #endif > >+#ifdef SAMBA_FD_SETSIZE >+# ifdef HAVE_BITS_TYPES_H >+# include <bits/types.h> >+# endif >+# ifdef __FD_SETSIZE >+# undef __FD_SETSIZE >+# define __FD_SETSIZE SAMBA_FD_SETSIZE >+# else >+# define FD_SETSIZE SAMBA_FD_SETSIZE >+# endif >+#endif >+ > #ifdef HAVE_STANDARDS_H > #include <standards.h> > #endif >diff --git a/source3/configure.in b/source3/configure.in >index 5201302..59ea8cc 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -679,6 +679,7 @@ AC_CHECK_HEADERS(sys/syslog.h syslog.h) > AC_CHECK_HEADERS(langinfo.h locale.h) > AC_CHECK_HEADERS(xfs/libxfs.h) > AC_CHECK_HEADERS(netgroup.h) >+AC_CHECK_HEADERS(bits/types.h) > > AC_CHECK_HEADERS(rpcsvc/yp_prot.h,,,[[ > #if HAVE_RPC_RPC_H >-- >1.7.4.1 >
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 7624
:
5908
|
5909
|
6037
| 6359