Sys::SigAction::Changes - List of significant changes
Revision history for Sys::SigAction.
Remove Restriction in License which required permission to include in CDROM media for commercial distribution.
License is now Straight GPL or Artistic as Perl is.
Fix safe attribute for perl >= 5.8.2, but applying patch in (duplicate) bugs:
http://rt.cpan.org/Ticket/Display.html?id=39599 http://rt.cpan.org/Ticket/Display.html?id=39946
Test by cloning mask.t into safe.t in the block for perl => 5.008002 and test setting safe attribute. Sadly, using both masked signals and safe=>1 at the same time, is still broken.
Add checks for unsupported configurations in Makefile.PL to (hopefully) suppress the Smoke test failures for those environments.
Update documentation.
Lincoln
Documentation cleanup, thanks to Tim Maher.
Francesco has pointed out that I still have a special case of safe=>0 broken for perl 5.8.0.
The perl 5.8.1 build I tested with (I could not find 5.8.0) it turns out has .../lib/5.8.1/auto/POSIX/SigAction/safe.al, my previous tests works.
This version of Sys::SigAction now as a test of these subtleties in t/safe.t, those still no real test of safe=>1 for perls >= 5.8.2
Add extra protection to test of $attrs->(safe} when the perl version is between 5.8 and 5.8.2, thanks to Francesco Duranti. Now test for it being defined before testing it's value. It would be a pretty bizarre case for that to happen, but... belt and suspenders... is 'safe'.
Fix warning in safe.t which referred to attrs.t (old test name) which was renamed to mask.t, to refer to mask.t.
Version 0.06 broke in perl < 5.8.2... (who uses that any more!!!) Well someone does... at least on RedHat... I did (do) claim backwards compatibility... So I fixed it right this time, by checking the perl version before called the safe accessor on the POSIX::SigAction object.
Still no good test for safe mode... be prepared to send me a test if you think safe signal handling is broken... for sure I could not get it to work the way I think it should with with deferred signals.
Fix setting of SAFE flag in POSIX::sigaction. In response to CPAN bug: http://rt.cpan.org/Ticket/Display.html?id=19916 Thanks to Steve Purk?, for point this out.
This required NOT setting safe=>1 (changing to to safe=>0) in t/attrs.t and the the dbd-oracle test script.
A new test for safe=>1 needs to be developed, which explicitly tests deferred signal handling. I would welcome such a contribution.
Lincoln A Baxter
Fix typo in POD for mask => thanks to Henri Asseily This was apparently never uploaded. :-(
Modify forever() in timeout.t so just loop instead of trying to read from STDIN, which apparently does not block or immediately returns an error on some platforms or test environments
Skip attrs.t test if perl version < 5.8.2 (rt.cpan.org ticket #5948)
Rename dbd-oracle-timout.PL -> dbd-oracle-timeout.POD
Comment out 'use warnings' for $] < 5.006
Suppress undefined warning in destructor for $] < 5.008
Documentation expansion and cleanup
Add dbd-oracle-timeout.PL
original version; created by h2xs 1.22 with options:
--compat-version=5.5.0 -X --name=Sys::SigAction \ --use-new-tests --skip-warnings --version=0.01
1 POD Error
The following errors were encountered while parsing the POD:
=cut found outside a pod block. Skipping to next block.
To install Sys::SigAction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sys::SigAction
CPAN shell
perl -MCPAN -e shell install Sys::SigAction
For more information on module installation, please visit the detailed CPAN module installation guide.