From: Adam Dickmeiss Date: Wed, 17 Mar 2010 14:00:29 +0000 (+0100) Subject: Apply FD_CLOEXEC on listening socket X-Git-Tag: v1.2.2~5 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=b6131942246f587188208dd9df6f5332839101d2;hp=b6131942246f587188208dd9df6f5332839101d2;p=yazpp-moved-to-github.git Apply FD_CLOEXEC on listening socket Use fcntl on listening socket to ensure it gets closed in case any server ever execs. There is no need for a child to listen and keep the port occupied. ---