Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
uv: upgrade to 5d5688f2
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Jun 14, 2012
1 parent ca003f4 commit 58b8b3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions deps/uv/src/unix/ev/ev.c
Expand Up @@ -608,9 +608,6 @@ ev_syserr (const char *msg)
static void *
ev_realloc_emul (void *ptr, long size)
{
#if __GLIBC__
return realloc (ptr, size);
#else
/* some systems, notably openbsd and darwin, fail to properly
* implement realloc (x, 0) (as required by both ansi c-89 and
* the single unix specification, so work around them here.
Expand All @@ -621,7 +618,6 @@ ev_realloc_emul (void *ptr, long size)

free (ptr);
return 0;
#endif
}

static void *(*alloc)(void *ptr, long size) = ev_realloc_emul;
Expand Down
2 changes: 2 additions & 0 deletions deps/uv/src/unix/process.c
Expand Up @@ -237,6 +237,8 @@ static void uv__process_child_init(uv_process_options_t options,
if (i != use_fd) {
dup2(use_fd, i);
close(use_fd);
} else {
uv__cloexec(use_fd, 0);
}
}

Expand Down

0 comments on commit 58b8b3f

Please sign in to comment.