- updated to 2.001003

see /usr/share/doc/packages/perl-Function-Parameters/Changes
  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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Function-Parameters?expand=0&rev=15
This commit is contained in:
Stephan Kulow
2017-12-10 14:06:03 +00:00
committed by Git OBS Bridge
parent a85074ec55
commit 2f754ce1b7
4 changed files with 32 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
Name: perl-Function-Parameters
Version: 2.001001
Version: 2.001003
Release: 0
%define cpan_name Function-Parameters
Summary: Define Functions and Methods with Parameter Lists ("Subroutine Signatures")