turn on close on exec option

This commit is contained in:
Jeff Hill
2003-07-16 22:09:58 +00:00
parent bb92682ed1
commit 9dc92c9b03

View File

@@ -108,7 +108,7 @@ epicsShareFunc int epicsShareAPI epicsSocketAccept (
errlogPrintf (
"epicsSocketCreate: failed to "
"fcntl FD_CLOEXEC because \"%s\"\n",
buf ):
buf );
close ( newSock );
newSock = INVALID_SOCKET;
}