diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-04-17 09:56:11 +0200 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-04-17 09:56:11 +0200 |
commit | 5bd23aa6ac950dc0613e7353cb4b56019b12c2b7 (patch) | |
tree | 24ff6d739028e6820d10bce13ddcdc075cbe4797 /erts/epmd | |
parent | ffb26e566c0cfc963883bb3e846e68d7a7c71cb0 (diff) | |
download | erlang-5bd23aa6ac950dc0613e7353cb4b56019b12c2b7.tar.gz |
epmd: Do not check max fd size on windows
Diffstat (limited to 'erts/epmd')
-rw-r--r-- | erts/epmd/src/epmd_srv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c index c37ca197f5..339df3bccf 100644 --- a/erts/epmd/src/epmd_srv.c +++ b/erts/epmd/src/epmd_srv.c @@ -1054,11 +1054,13 @@ static int conn_open(EpmdVars *g,int fd) int i; Connection *s; +#if !defined(__WIN32__) if (fd >= FD_SETSIZE) { dbg_tty_printf(g,0,"fd does not fit in fd_set fd=%d, FD_SETSIZE=%d",fd, FD_SETSIZE); close(fd); return EPMD_FALSE; } +#endif for (i = 0; i < g->max_conn; i++) { if (g->conn[i].open == EPMD_FALSE) { |