svn commit: samba r2441 - in branches/SAMBA_4_0/source/lib: .

metze at samba.org metze at samba.org
Mon Sep 20 10:20:27 GMT 2004


Author: metze
Date: 2004-09-20 10:20:26 +0000 (Mon, 20 Sep 2004)
New Revision: 2441

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib&rev=2441&nolog=1

Log:
set exit code correct when we got EBADF from select()

metze

Modified:
   branches/SAMBA_4_0/source/lib/events.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/events.c
===================================================================
--- branches/SAMBA_4_0/source/lib/events.c	2004-09-20 09:48:46 UTC (rev 2440)
+++ branches/SAMBA_4_0/source/lib/events.c	2004-09-20 10:20:26 UTC (rev 2441)
@@ -406,6 +406,7 @@
 			   the event, so this must be a bug. This is a
 			   fatal error. */
 			DEBUG(0,("EBADF on event_loop_once - exiting\n"));
+			ev->exit.code = EBADF;
 			return -1;
 		}
 		



More information about the samba-cvs mailing list