Tree
- Tree:
05a036176e7766c5ad3d306cb2a1f29876a9ca02
- Date:
- Message:
- revert "Skip poll(2) if an imsgbuf has a non-empty read buffer" imsg_read() will call recvmsg() on the file descriptor regardless of the read buffer's state, so we should ensure that data is ready. The read buffer is used by imsg_get(), not imsg_read(). We already call imsg_get() before imsg_read(), and call the latter only if imsg_get() returns zero.
Makefile | commits | blame |
tog.1 | commits | blame |
tog.c | commits | blame |