[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2557-g82c994d
Volker Lendecke
vlendec at samba.org
Wed Jun 11 16:56:43 GMT 2008
The branch, v3-2-test has been updated
via 82c994dabc47bb4755c883a1f3651bb5d65cf2c5 (commit)
from 49178f979f14ced834dda3104044bb8a84d4ebdb (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 82c994dabc47bb4755c883a1f3651bb5d65cf2c5
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jun 11 18:56:20 2008 +0200
Fix max_fd calculation in event_loop_once
For some bugs I really wonder how they can go undetected for so long.
Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.
Volker
-----------------------------------------------------------------------
Summary of changes:
source/lib/events.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/events.c b/source/lib/events.c
index f7bad9b..f5d6480 100644
--- a/source/lib/events.c
+++ b/source/lib/events.c
@@ -344,7 +344,7 @@ int event_loop_once(struct event_context *ev)
return 0;
}
- ret = sys_select(maxfd, &r_fds, &w_fds, NULL, &to);
+ ret = sys_select(maxfd+1, &r_fds, &w_fds, NULL, &to);
if (ret == -1 && errno != EINTR) {
return -1;
--
Samba Shared Repository
More information about the samba-cvs
mailing list