]> Sergey Matveev's repositories - public-inbox.git/commit
default to CORE::warn in $SIG{__WARN__} handlers
authorEric Wong <e@80x24.org>
Sat, 26 Dec 2020 01:44:36 +0000 (01:44 +0000)
committerEric Wong <e@80x24.org>
Sat, 26 Dec 2020 19:27:15 +0000 (19:27 +0000)
commit0b018bebe7d8ee807ab07b570cf33669da4875b0
tree9a0eb73298a8226b722d81db1d88a2fdb7d7adcf
parentb5e960f50289434025f5904c8c1311e4c8a02b82
default to CORE::warn in $SIG{__WARN__} handlers

As with CORE::die and $SIG{__DIE__}, it turns out CORE::warn is
safe to use inside $SIG{__WARN__} handlers without triggering
infinite recursion.  So fall back to reusing CORE::warn instead
of creating a new sub.
lib/PublicInbox/Admin.pm
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/InboxWritable.pm
lib/PublicInbox/Watch.pm