Subject: CVS commit: pkgsrc/devel/p5-Function-Parameters
From: Thomas Klausner
Date: 2017-11-13 16:10:33
Message id: 20171113151033.2DEA2FBDE@cvs.NetBSD.org

Log Message:
p5-Function-Parameters: update to 2.001003.

2.001003  2017-11-11
          - Fix threaded initialization issue better. This is the same issue
            that was fixed in 2.001002, but now we use PL_op_mutex instead of
            PL_check_mutex. This has the advantage of also being thread-safe on
            v5.14.

2.001002  2017-11-09
          - Fix crash when Function::Parameters is loaded at runtime by
            multiple threads (a stack overflow due to infinite recursion).
            This is arguably a core bug (#132413). The current workaround
            employed by Function::Parameters slightly abuses an internal perl
            mutex meant for something else (protecting op checkers), but it
            fixes the issue on perls v5.16 .. v5.26.
            v5.14 doesn't have this API yet, so the workaround is not thread
            safe there. It is technically possible to still run into this issue
            if two threads initialize Function::Parameters at the exact same
            moment (I haven't managed to reproduce this yet, so hopefully it's
            unlikely in practice).
            It is possible to completely avoid the problem on all versions of
            perl and Function::Parameters by making sure the module is loaded
            before the first thread is created.

Files:
RevisionActionfile
1.6modifypkgsrc/devel/p5-Function-Parameters/Makefile
1.5modifypkgsrc/devel/p5-Function-Parameters/distinfo