]> Sergey Matveev's repositories - public-inbox.git/commit
spamcheck/spamc: use localized slurp to read from spamc
authorEric Wong <e@yhbt.net>
Tue, 19 May 2020 22:45:32 +0000 (22:45 +0000)
committerEric Wong <e@yhbt.net>
Wed, 20 May 2020 23:58:16 +0000 (23:58 +0000)
commitd4e0a141a691e25ca085660c4caca59b05a7827b
tree5775a5f0ab7dddf491bb844f3f76d8c5fefc139a
parent6eb84d273eea3943ceb7e138cdfd17c83ade410f
spamcheck/spamc: use localized slurp to read from spamc

The <EXPR> perlop, `readline', and `read' functions will all
retry on EINTR, so there's no need to retry and loop ourselves
with `sysread'.
lib/PublicInbox/Spamcheck/Spamc.pm