Garbage collection to side-step sparse file descriptor problem.
(io_select, io_flush, io_iopfromfd): Unused, remove. (io_open): Allow more than one open for the same file descriptor. The check is the last remaining use of io_list[], and it's unimportant. (io_list, niop, io_init): io_list[] no longer serves any purpose, remove. Sparse allocation of file descriptors (deplorable misfeature of Winsock, at least some versions) is no longer a problem. (getfdtablesize): Unused, remove. Was broken for Windows anyway.
This commit is contained in:
parent
52cb1f8c55
commit
875d72a00f
5 changed files with 3 additions and 126 deletions
|
@ -412,7 +412,6 @@ extern int roll(int);
|
|||
extern int roundavg(double);
|
||||
extern int chance(double);
|
||||
extern void disassoc(void);
|
||||
extern int getfdtablesize(void);
|
||||
extern s_char *getstarg(s_char *, s_char *, s_char *);
|
||||
extern s_char *getstring(s_char *, s_char *);
|
||||
#if !defined(_WIN32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue