git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
InitRD - Libc++, libm, bochs, dbserver
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
main.c
diff --git
a/Usermode/Applications/axwin3_src/WM/main.c
b/Usermode/Applications/axwin3_src/WM/main.c
index
5a2c354
..
1050395
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/main.c
+++ b/
Usermode/Applications/axwin3_src/WM/main.c
@@
-79,22
+79,24
@@
int main(int argc, char *argv[])
for(;;)
{
fd_set fds;
for(;;)
{
fd_set fds;
+ fd_set efds;
int nfds = 0;
FD_ZERO(&fds);
int nfds = 0;
FD_ZERO(&fds);
+ FD_ZERO(&efds);
WM_Update();
Input_FillSelect(&nfds, &fds);
WM_Update();
Input_FillSelect(&nfds, &fds);
- IPC_FillSelect(&nfds, &fds);
+ IPC_FillSelect(&nfds, &fds
, &efds
);
nfds ++;
nfds ++;
- if( _SysSelect(nfds, &fds, NULL,
NULL
, NULL, THREAD_EVENT_IPCMSG) == -1 ) {
+ if( _SysSelect(nfds, &fds, NULL,
&efds
, NULL, THREAD_EVENT_IPCMSG) == -1 ) {
_SysDebug("ERROR: select() returned -1");
return -1;
}
Input_HandleSelect(&fds);
_SysDebug("ERROR: select() returned -1");
return -1;
}
Input_HandleSelect(&fds);
- IPC_HandleSelect(&fds);
+ IPC_HandleSelect(&fds
, &efds
);
}
return 0;
}
}
return 0;
}
UCC
git Repository :: git.ucc.asn.au