diff --git a/legacy/evas/src/bin/evas_cserve2_main_loop_linux.c b/legacy/evas/src/bin/evas_cserve2_main_loop_linux.c index d4b5dff37b..e8da352984 100644 --- a/legacy/evas/src/bin/evas_cserve2_main_loop_linux.c +++ b/legacy/evas/src/bin/evas_cserve2_main_loop_linux.c @@ -193,6 +193,9 @@ _socketfd_handler(int fd __UNUSED__, Fd_Flags flags __UNUSED__, void *data __UNU ERR("Could not accept socket: \"%s\"", strerror(errno)); return; } + /* TODO: when porting to windows, do: + * SetHandleInformation(s, HANDLE_FLAG_INHERIT, 0) + */ fcntl(s, F_SETFD, FD_CLOEXEC); cserve2_client_accept(s);