Commit ca76ef57 authored by Nils Goroll's avatar Nils Goroll Committed by Dridi Boukelmoune

fix the missing high fd tracking

parent 8564c979
......@@ -191,6 +191,8 @@ mch_cli_panic_clear(struct cli *cli, const char * const *av, void *priv)
static int mgt_max_fd;
#define CLOSE_FD_UP_TO (mgt_max_fd + 100)
// XXX should work now - engage?
//#define CLOSE_FD_UP_TO mgt_max_fd
#define CHECK_FD_UP_TO (CLOSE_FD_UP_TO + 100)
void
......@@ -215,6 +217,7 @@ MCH_Fd_Inherit(int fd, const char *what)
{
assert(fd >= 0);
MCH_TrackHighFd(fd);
if (fd_map == NULL)
fd_map = vbit_new(128);
AN(fd_map);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment