]> Sergey Matveev's repositories - public-inbox.git/commit
ds: get rid of redundant and unnecessary POLL* constants
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:15 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:26 +0000 (05:26 +0000)
commit66022a2e311c71ea3d50c7c5d5c92dfcfa8b1d7e
tree20fd07b9f9bfd5587c43671e4144b34c256f9437
parent2929e3b3c62925149a9a8cafd872bfdb017453eb
ds: get rid of redundant and unnecessary POLL* constants

EPOLL* constants already match their POLL* counterparts and
there's no way Linux can ever diverge or change the values
of those constants.  So we'll favor the EPOLL* ones since we
use EPOLLEXCLUSIVE, already.

For weird stuff like kqueue, we'd need to keep maintaining
the mapping, anyways.
lib/PublicInbox/DS.pm