mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
992eabba3c
commit
1b4658660f
1 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue