]> Sergey Matveev's repositories - public-inbox.git/commit
syscall: SFD_NONBLOCK can be a constant, again
authorEric Wong <e@80x24.org>
Thu, 31 Dec 2020 13:51:50 +0000 (13:51 +0000)
committerEric Wong <e@80x24.org>
Fri, 1 Jan 2021 05:00:40 +0000 (05:00 +0000)
commit52df89ced31a5685d37e17c62ccccd3db5aa3e62
tree3b36d49255b646c1a7c80159db279e20c51979b3
parentd59a9cb667f106b29363795539b55116077bcd80
syscall: SFD_NONBLOCK can be a constant, again

Since Perl exposes O_NONBLOCK as a constant, we can safely make
SFD_NONBLOCK a constant, too.  This is not the case for
SFD_CLOEXEC, since O_CLOEXEC is not exposed by Perl despite
being used internally in the interpreter.
lib/PublicInbox/DSKQXS.pm
lib/PublicInbox/Daemon.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/Sigfd.pm
lib/PublicInbox/Syscall.pm
script/public-inbox-watch
t/sigfd.t