svn commit: samba r12151 - in branches/SAMBA_4_0/source/gtk/common:
.
metze at samba.org
metze at samba.org
Fri Dec 9 20:14:56 GMT 2005
Author: metze
Date: 2005-12-09 20:14:55 +0000 (Fri, 09 Dec 2005)
New Revision: 12151
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12151
Log:
match the select mode of the standard events system and the liboop system,
and report errors as read events
metze
Modified:
branches/SAMBA_4_0/source/gtk/common/gtk_events.c
Changeset:
Modified: branches/SAMBA_4_0/source/gtk/common/gtk_events.c
===================================================================
--- branches/SAMBA_4_0/source/gtk/common/gtk_events.c 2005-12-09 19:36:40 UTC (rev 12150)
+++ branches/SAMBA_4_0/source/gtk/common/gtk_events.c 2005-12-09 20:14:55 UTC (rev 12151)
@@ -145,7 +145,7 @@
}
if (fde->flags & EVENT_FD_READ)
- condition |= G_IO_IN;
+ condition |= (G_IO_IN | G_IO_ERR | G_IO_HUP);
if (fde->flags & EVENT_FD_WRITE)
condition |= G_IO_OUT;
@@ -187,7 +187,7 @@
if (fde->flags == flags) return;
if (flags & EVENT_FD_READ)
- condition |= G_IO_IN;
+ condition |= (G_IO_IN | G_IO_ERR | G_IO_HUP);
if (flags & EVENT_FD_WRITE)
condition |= G_IO_OUT;
More information about the samba-cvs
mailing list