]> Sergey Matveev's repositories - public-inbox.git/commit
li2wrap: avoid double-close on Linux::Inotify2 <2.3
authorEric Wong <e@80x24.org>
Fri, 6 Aug 2021 00:29:52 +0000 (00:29 +0000)
committerEric Wong <e@80x24.org>
Fri, 6 Aug 2021 01:01:46 +0000 (01:01 +0000)
commit5d3e9705c8d5a6d0341a5f1bed2027ef9f9e95a8
tree0fc05abdc29e33ed8634efb14d2bdca070d294be
parenta29946ad3bc49704a512ae3ab31a45bbd66165e2
li2wrap: avoid double-close on Linux::Inotify2 <2.3

LI2Wrap was not working as expected due to the missing bless
to override ->DESTROY.  This bug showed up in an message check in
t/lei-q-remote-import.t

Fixes: 7fc6e30aeab9925b ("lei: close inotify FD in forked child")
lib/PublicInbox/LI2Wrap.pm