Merge pull request #28 from pocographdotcom/master

Chromium tried to close our pipes and falls into infinity loop.
This commit is contained in:
rofl0r 2014-01-08 05:38:52 -08:00
commit 582b3ced26

View File

@ -304,7 +304,7 @@ int close(int fd) {
fd != resp_pipefd[0] && fd != resp_pipefd[1]) {
return true_close(fd);
}
errno = EINTR;
errno = EBADF;
return -1;
}