Fix EventPipe file descriptors
This commit is contained in:
@@ -48,7 +48,7 @@ EventPipe::EventPipe()
|
|||||||
throw MakeErrno("pipe() has failed");
|
throw MakeErrno("pipe() has failed");
|
||||||
|
|
||||||
fds[0] = r.Steal();
|
fds[0] = r.Steal();
|
||||||
fds[1] = r.Steal();
|
fds[1] = w.Steal();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user