From abc58b7d0f0b842de68f0c89d32974b0aa119c95 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 10 Jul 2012 05:18:00 +0000 Subject: [PATCH] add note SVN revision: 73512 --- legacy/evas/src/bin/evas_cserve2_main_loop_linux.c | 3 +++ 1 file changed, 3 insertions(+) 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);