mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-27 04:12:51 +00:00
Rework handling of I/O via select() to use correct fd_set type instead of int for fd sets.
Some code that was maintaining an fd_set with only a single fd was replaced
with just the fd as int, which can be added to the global fd_set as needed.
More testing is required for less usual configurations such as host TCP/UDP/IP
and direct ethernet (packet filter or NIT) I/O.
modified: src/common.c
modified: src/ether.c
modified: src/inet.c
modified: src/initkbd.c
modified: src/kbdsubrs.c
modified: src/keyevent.c
modified: src/main.c
modified: src/osmsg.c
modified: src/rawrs232c.c
modified: src/rpc.c
modified: src/rs232c.c
modified: src/tty.c
modified: src/uraid.c
modified: src/xinit.c
This commit is contained in:
@@ -18,6 +18,7 @@ static char *id = "$Id: initkbd.c,v 1.2 1999/01/03 02:07:09 sybalsky Exp $ Copyr
|
||||
#endif
|
||||
#ifndef DOS
|
||||
#include <sys/file.h>
|
||||
#include <sys/select.h>
|
||||
#endif /* DOS */
|
||||
#ifdef SUNDISPLAY
|
||||
#include <sundev/kbd.h>
|
||||
@@ -135,7 +136,7 @@ extern int errno;
|
||||
int DebugKBD = NIL;
|
||||
FILE *KBlog;
|
||||
|
||||
u_int LispReadFds = 0;
|
||||
extern fd_set LispReadFds;
|
||||
#ifdef SUNDISPLAY
|
||||
struct inputmask LispEventMask;
|
||||
#endif /* SUNDISPLAY */
|
||||
|
||||
Reference in New Issue
Block a user