Fix descriptor removal in select() version

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12271 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-01-30 07:19:11 +00:00
parent 992eabba3c
commit 1b4658660f

View file

@ -55,6 +55,7 @@
#include <limits.h>
#include <string.h> /* for memset() */
#undef HAVE_POLL
static int debug_run_loop = 0;
static NSDate *theFuture = nil;
@ -1121,7 +1122,7 @@ if (0) {
{
GSRunLoopCtxt *c = [contexts objectAtIndex: i];
[c endEvent: (void*)fd type: ET_EDESC];
[c endEvent: (void*)fdIndex type: ET_EDESC];
}
}
GSNotifyASAP();
@ -1150,7 +1151,7 @@ if (0) {
{
GSRunLoopCtxt *c = [contexts objectAtIndex: i];
[c endEvent: (void*)fd type: ET_WDESC];
[c endEvent: (void*)fdIndex type: ET_WDESC];
}
}
GSNotifyASAP();
@ -1179,7 +1180,7 @@ if (0) {
{
GSRunLoopCtxt *c = [contexts objectAtIndex: i];
[c endEvent: (void*)fd type: ET_RDESC];
[c endEvent: (void*)fdIndex type: ET_RDESC];
}
}
GSNotifyASAP();