Skip Menu |

This queue is for tickets about the IPC-Shareable CPAN distribution.

Report information
The Basics
Id: 41401
Status: resolved
Priority: 0/
Queue: IPC-Shareable

People
Owner: msouth [...] gmail.com
Requestors: flichtenheld [...] astaro.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.60
Fixed in: (no value)



Subject: Broken with 5.10
The following patch seems to be necessary to be able to use IPC::Shareable with 5.10. It at least suffices to let the test suite pass. diff -ur IPC-Shareable-0.60-qawC8O/lib/IPC/Shareable.pm IPC-Shareable-0.60-nbXedO/lib/IPC/Shareable.pm --- IPC-Shareable-0.60-qawC8O/lib/IPC/Shareable.pm 2001-03-05 21:31:08.000000000 +0100 +++ IPC-Shareable-0.60-nbXedO/lib/IPC/Shareable.pm 2008-12-03 13:01:57.000000000 +0100 @@ -452,7 +452,7 @@ my $n = shift; $self->{_data} = _thaw($self->{_shm}) unless $self->{_lock}; - $#{@{$self->{_data}}} = $n - 1; + $#{$self->{_data}} = $n - 1; if ($self->{_lock} & LOCK_EX) { $self->{_was_changed} = 1; } else {
On Wed Dec 03 07:29:15 2008, flichtenheld wrote: Show quoted text
> The following patch seems to be necessary to be able to use IPC::Shareable > with 5.10. It at least suffices to let the test suite pass. > > diff -ur IPC-Shareable-0.60-qawC8O/lib/IPC/Shareable.pm > IPC-Shareable-0.60-nbXedO/lib/IPC/Shareable.pm > --- IPC-Shareable-0.60-qawC8O/lib/IPC/Shareable.pm 2001-03-05 > 21:31:08.000000000 +0100 > +++ IPC-Shareable-0.60-nbXedO/lib/IPC/Shareable.pm 2008-12-03 > 13:01:57.000000000 +0100 > @@ -452,7 +452,7 @@ > my $n = shift; > > $self->{_data} = _thaw($self->{_shm}) unless $self->{_lock}; > - $#{@{$self->{_data}}} = $n - 1; > + $#{$self->{_data}} = $n - 1; > if ($self->{_lock} & LOCK_EX) { > $self->{_was_changed} = 1; > } else {
I have applied and will release as version 0.61. To preview see: https://github.com/msouth/IPC-Shareable.git If you are still around and would be willing to test that against your use of IPC::Shareable it would be appreciated.
Subject: RE: [rt.cpan.org #41401] Broken with 5.10
Date: Tue, 9 Oct 2012 09:21:41 +0000
To: "bug-IPC-Shareable [...] rt.cpan.org" <bug-IPC-Shareable [...] rt.cpan.org>
From: Frank Lichtenheld <Frank.Lichtenheld [...] Sophos.com>
Show quoted text
> -----Original Message----- > From: Mike South via RT [mailto:bug-IPC-Shareable@rt.cpan.org] > Sent: Tuesday, October 09, 2012 7:47 AM > To: Frank Lichtenheld > Subject: [rt.cpan.org #41401] Broken with 5.10 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=41401 >
[...] Show quoted text
> I have applied and will release as version 0.61. To preview see: > > https://github.com/msouth/IPC-Shareable.git > > If you are still around and would be willing to test that against your > use of IPC::Shareable it > would be appreciated.
Sorry, the code that used it is gone, so can't help you there. Cheers, Frank