Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

uv: upgrade to 5d5688f2

  • Loading branch information...
piscisaureus committed Jun 14, 2012
1 parent ca003f4 commit 58b8b3fa07df3ddeb32f37aeb7795de2b39a6b66
Showing with 2 additions and 4 deletions.
  1. +0 −4 deps/uv/src/unix/ev/ev.c
  2. +2 −0 deps/uv/src/unix/process.c
@@ -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.
@@ -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;
@@ -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);
}
}

0 comments on commit 58b8b3f

Please sign in to comment.
You can’t perform that action at this time.