[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2813-g91c73e0
Volker Lendecke
vlendec at samba.org
Wed Jun 11 16:57:15 GMT 2008
The branch, v3-3-test has been updated
via 91c73e093a03b10426b671cb3e1dffb8a2455d47 (commit)
from 0352682a355b42ced7628a720a6889d8453e7946 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 91c73e093a03b10426b671cb3e1dffb8a2455d47
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
(cherry picked from commit 82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
-----------------------------------------------------------------------
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 8134a7a..7750176 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