- 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

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9130c7cddd4cf20c0c647c7500eb57c1b0f7129a82884d50c8f4913fb06d1dea
size 89760

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eaa22c6b43c02499ec7db0758c2dd218a3b2ab47a714b2bdf8010b5ee113c242
size 91273

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Sun Dec 10 14:05:40 UTC 2017 - coolo@suse.com
- 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.
-------------------------------------------------------------------
Mon Jul 3 05:32:18 UTC 2017 - coolo@suse.com

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")