]> Sergey Matveev's repositories - public-inbox.git/commit
watch: block signals before fork on non-signalfd/kevent systems
authorEric Wong <e@80x24.org>
Mon, 31 Aug 2020 04:41:35 +0000 (04:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 1 Sep 2020 00:19:17 +0000 (00:19 +0000)
commit03c9119ec613fa43dcf0a50b5f35754f13228bc8
tree8d9ced1e58f7e3e05743286204e397d224dfca5c
parent94ae705673cb03045a109041eec9a6704b8a735b
watch: block signals before fork on non-signalfd/kevent systems

In case there's non-Linux or BSD users w/o IO::KQueue, we
shouldn't let signal handlers fire in the child processes.

The child processes always assumed signals were blocked by
the parent, so no changes were necessary, there.
lib/PublicInbox/Watch.pm