diff options
author | Eric Wong <e@80x24.org> | 2020-09-14 03:42:30 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-09-14 05:58:18 +0000 |
commit | ee8cadb3a71ab4c951642a96ba123688244de720 (patch) | |
tree | 63286d0435f0f5f85830b73b4b920a58c1f12d0e /script/public-inbox-watch | |
parent | c62ab5b7500bd9e7c584f5972e3c115842598957 (diff) | |
download | public-inbox-ee8cadb3a71ab4c951642a96ba123688244de720.tar.gz |
Unfortunately, I'm not sure how easy catching these at compile-time, is. Prototypes do not seem to check these at compile time when crossing packages (not even with exported subroutines).
Diffstat (limited to 'script/public-inbox-watch')
-rwxr-xr-x | script/public-inbox-watch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-watch b/script/public-inbox-watch index 1d164aa3..55183ef2 100755 --- a/script/public-inbox-watch +++ b/script/public-inbox-watch @@ -60,7 +60,7 @@ if ($watch) { my $sigfd = PublicInbox::Sigfd->new($sig, $SFD_NONBLOCK); local %SIG = (%SIG, %$sig) if !$sigfd; if (!$sigfd) { - PublicInbox::Sigfd::set_sigmask($oldset); + PublicInbox::Sigfd::sig_setmask($oldset); PublicInbox::DS->SetLoopTimeout(1000); } $watch->watch($sig, $oldset) while ($watch); |