[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0rc2-5-g0a10b3f

Karolin Seeger kseeger at samba.org
Thu Jun 12 06:44:01 GMT 2008


The branch, v3-2-stable has been updated
       via  0a10b3f2048c750f64702e982a293746bcc924c5 (commit)
      from  f26d0c6262dfa94f901885d838d4fa04eb30d7b1 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -----------------------------------------------------------------
commit 0a10b3f2048c750f64702e982a293746bcc924c5
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 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