Browse Source

uv: upgrade to 5d5688f2

v0.9.1-release
Bert Belder 13 years ago
parent
commit
58b8b3fa07
  1. 4
      deps/uv/src/unix/ev/ev.c
  2. 2
      deps/uv/src/unix/process.c

4
deps/uv/src/unix/ev/ev.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;

2
deps/uv/src/unix/process.c

@ -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);
}
}

Loading…
Cancel
Save