Skip to content

Commit

Permalink
uv: fix failure on prod
Browse files Browse the repository at this point in the history
SOCK_CLOEXEC is not available on it, but is available on a dev box,
where we are building node.
  • Loading branch information
indutny committed Apr 11, 2014
1 parent d116249 commit dfc29d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/uv/src/unix/core.c
Expand Up @@ -399,7 +399,7 @@ void uv_freeaddrinfo(struct addrinfo* ai) {
int uv__socket(int domain, int type, int protocol) {
int sockfd;

#if defined(SOCK_NONBLOCK) && defined(SOCK_CLOEXEC)
#if 0 && defined(SOCK_NONBLOCK) && defined(SOCK_CLOEXEC)
sockfd = socket(domain, type | SOCK_NONBLOCK | SOCK_CLOEXEC, protocol);

if (sockfd != -1)
Expand Down

0 comments on commit dfc29d3

Please sign in to comment.