// Set back the close-on-exec flag for the socket.
// (This can't leak into a child, since we haven't been started yet.)
if (sock != -1) {
- fcntl(sock, F_SETFD, O_CLOEXEC);
+ fcntl(sock, F_SETFD, FD_CLOEXEC);
}
pending_data.resize(serialized.pending_data().size());