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:
Markus Armbruster 2004-02-06 12:35:51 +00:00
parent 52cb1f8c55
commit 875d72a00f
5 changed files with 3 additions and 126 deletions

View file

@ -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)