diff options
author | Ricardo Signes <rjbs@cpan.org> | 2011-12-30 13:23:11 -0500 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2011-12-30 13:23:11 -0500 |
commit | 0e9a7888ba165f1fe02d99368e8e1a4496004db1 (patch) | |
tree | ba291c3c18eb7002b8d77e57267d2fa2dad3ea51 /ext | |
parent | 9ba5575c1d28bd528491a29c6e400173f308e987 (diff) | |
download | perl-0e9a7888ba165f1fe02d99368e8e1a4496004db1.tar.gz |
include a package POSIX::SigSet
this is mostly for the benefit of the PAUSE indexer, as described
in the code comment
Diffstat (limited to 'ext')
-rw-r--r-- | ext/POSIX/lib/POSIX.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/POSIX/lib/POSIX.pm b/ext/POSIX/lib/POSIX.pm index b6997ffca9..ec5c076294 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; |