Initial fix of upstream merge.

This commit is contained in:
Geoffrey Challen
2017-02-09 10:09:30 -05:00
42 changed files with 828 additions and 74 deletions

View File

@@ -69,6 +69,11 @@ pipe_unaligned(void)
rv = pipe((int *)ptr);
report_survival(rv, errno, &result);
if (rv == 0) {
memmove(fds, ptr, 2*sizeof(int));
close(fds[0]);
close(fds[1]);
}
return result;
}