From 0e9a7888ba165f1fe02d99368e8e1a4496004db1 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Fri, 30 Dec 2011 13:23:11 -0500 Subject: [PATCH] include a package POSIX::SigSet this is mostly for the benefit of the PAUSE indexer, as described in the code comment --- ext/POSIX/lib/POSIX.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ext/POSIX/lib/POSIX.pm b/ext/POSIX/lib/POSIX.pm index b6997ff..ec5c076 100644 --- a/ext/POSIX/lib/POSIX.pm +++ b/ext/POSIX/lib/POSIX.pm @@ -406,6 +406,14 @@ sub mask { $_[0]->{MASK} = $_[1] if @_ > 1; $_[0]->{MASK} }; sub flags { $_[0]->{FLAGS} = $_[1] if @_ > 1; $_[0]->{FLAGS} }; sub safe { $_[0]->{SAFE} = $_[1] if @_ > 1; $_[0]->{SAFE} }; +{ +package POSIX::SigSet; +# This package is here entirely to make sure that POSIX::SigSet is seen by the +# PAUSE indexer, so that it will always be clearly indexed in core. This is to +# prevent the accidental case where a third-party distribution can accidentally +# claim the POSIX::SigSet package, as occurred in 2011-12. -- rjbs, 2011-12-30 +} + package POSIX::SigRt; require Tie::Hash; -- 2.7.4