This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update autodie to CPAN version 2.26
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Sat, 27 Dec 2014 16:19:50 +0000 (16:19 +0000)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Sat, 27 Dec 2014 16:19:50 +0000 (16:19 +0000)
commitebf27bc85d964536463e823bbdbdb42456bdbf70
treedf748b76442e06d06eaf591a3b7f332ce4456cc5
parent2f8e48da71dd5ea1aea7cd8774500f3b82cd406c
Update autodie to CPAN version 2.26

  [DELTA]

2.26      2014-12-26 16:27:23+00:00 UTC

        * BUGFIX / INCOMPAT: Remove "fileno" and "umask" from the list of
                             CORE subs protected by autodie and Fatal.
                             When they return undef, it is not a failure.

        * BUGFIX: Fixed an error that could occur during global destruction of
          the form "(in cleanup) Can't use an undefined value as an ARRAY
          reference at .../autodie/Scope/GuardStack.pm line 48 during global
          destruction" (Thanks to Dave Rolsky).

        * BUGFIX: The open-pragma is now properly ignored when open is
                  given an explicit layer.  This brings autodie protected
                  open in sync with open.  Thanks to Gregory Oschwald and
                  Graham Knop for the report + test case and the patch.
                  (GH#52 + GH#53)

        * BUGFIX: Hide the "SCALAR" (buffer) argument in the string
                  representation of autodie::exception for the read,
                  sysread and syswrite CORE subs.  This is to avoid
                  a dump of binary data to the screen/log when a
                  (sys)read or syswrite fails.

        * FEATURE: Let autodie::exception work in equality tests and
                   string comparison via "overload fallback".
                   (Thanks to Michael G. Schwern)

        * DOC: Mention that "kill" is in the ":ipc" category.  It has
               been there since autodie v2.14.
               (Thanks to Felipe Gasper for reporting it, RT#97320).

        * INTERNAL: Use "parent" instead of "base" for inheritance.  Also
                    avoid some @ISA relationships that were redundant.
                    Either truly redundant ones or by importing "import"
                    from Exporter v5.57.
                    -  This change implies that perl 5.8 users must now
                       also fetch "parent" from cpan.
                    (Thanks to Olivier MenguĂ©, GH#59)

        * DEVEL / TEST: The autodie module now accepts an undefined Fatal
                        version, assuming it to be development version.
                        Test cases that require versions are now either
                        skipped or considered "release" test.

        * TEST / INTERNAL: Enabled travis-ci for Perl 5.20

        * TEST: Close temp file before re-opening in t/truncate.t.
                (Thanks to Craig A. Berry, RT#96609)

        * TEST: Pass O_TRUNC with O_CREAT to sysopen in t/utf8_open.t.
                (Thanks to Craig A. Berry, RT#87237)

        * TEST: Clean up temp file in t/truncate.t.
                (Thanks to Dave Mitchell, RT#100688)
35 files changed:
MANIFEST
Porting/Maintainers.pl
cpan/autodie/lib/Fatal.pm
cpan/autodie/lib/autodie.pm
cpan/autodie/lib/autodie/Scope/Guard.pm
cpan/autodie/lib/autodie/Scope/GuardStack.pm
cpan/autodie/lib/autodie/ScopeUtil.pm
cpan/autodie/lib/autodie/exception.pm
cpan/autodie/lib/autodie/exception/system.pm
cpan/autodie/lib/autodie/hints.pm
cpan/autodie/lib/autodie/skip.pm
cpan/autodie/t/autodie_skippy.pm
cpan/autodie/t/exceptions.t
cpan/autodie/t/import-into.t [new file with mode: 0644]
cpan/autodie/t/internal.t
cpan/autodie/t/lib/Hints_pod_examples.pm
cpan/autodie/t/lib/Hints_provider_does.pm
cpan/autodie/t/lib/Hints_provider_easy_does_it.pm
cpan/autodie/t/lib/Hints_provider_isa.pm
cpan/autodie/t/lib/Hints_test.pm
cpan/autodie/t/lib/Some/Module.pm
cpan/autodie/t/lib/autodie/test/au.pm
cpan/autodie/t/lib/autodie/test/au/exception.pm
cpan/autodie/t/lib/autodie/test/badname.pm
cpan/autodie/t/lib/autodie/test/missing.pm
cpan/autodie/t/lib/lethal.pm
cpan/autodie/t/lib/my/autodie.pm
cpan/autodie/t/lib/my/pragma.pm [new file with mode: 0644]
cpan/autodie/t/lib/pujHa/ghach.pm
cpan/autodie/t/lib/pujHa/ghach/Dotlh.pm
cpan/autodie/t/read.t [new file with mode: 0644]
cpan/autodie/t/truncate.t
cpan/autodie/t/utf8_open.t
cpan/autodie/t/version.t
cpan/autodie/t/version_tag.t