about summary refs log tree commit homepage
path: root/script/public-inbox-watch
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-09-14 03:42:30 +0000
committerEric Wong <e@yhbt.net>2020-09-14 05:58:18 +0000
commitee8cadb3a71ab4c951642a96ba123688244de720 (patch)
tree63286d0435f0f5f85830b73b4b920a58c1f12d0e /script/public-inbox-watch
parentc62ab5b7500bd9e7c584f5972e3c115842598957 (diff)
downloadpublic-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-xscript/public-inbox-watch2
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);