From: Nicholas Clark Date: Sat, 8 Jun 2002 00:39:22 +0000 (+0100) Subject: Re: Major bug in Storable 2.03 with 5.6.1 (freeze & thaw hooks) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=17374ab3afe4ff0ac911cd7c1f0c26cf654b7058;p=p5sagit%2Fp5-mst-13.2.git Re: Major bug in Storable 2.03 with 5.6.1 (freeze & thaw hooks) Message-ID: <20020607233921.GE307@Bagpuss.unfortu.net> p4raw-id: //depot/perl@17075 --- diff --git a/ext/Storable/ChangeLog b/ext/Storable/ChangeLog index 1b15153..a561108 100644 --- a/ext/Storable/ChangeLog +++ b/ext/Storable/ChangeLog @@ -1,3 +1,20 @@ +Fri Jun 7 23:55:41 BST 2002 Nicholas Clark + + Version 2.04 + + Bug fix from Radu Greab (plus regression test) + to fix a recently introduced bug detected by Dave Rolsky. + Bug was that for a non threaded build, the class information was + being lost at freeze time on the first object with a STORABLE_freeze + hook. Consequentially the object was not blessed at all when thawed. + (The presence (or lack) of STORABLE_thaw was irrelevant; this was + a store-time data lost bug, caused by failure to initialize internal + context) + The bug was introduced as development perl change 16442 (on + 2002/05/07), so has been present since 2.00. + Patches to introduce more regression tests to reduce the chance of + a reoccurance of this sort of goof are always welcome. + Thu May 30 20:31:08 BST 2002 Nicholas Clark Version 2.03 Header changes on 5.6.x on Unix where IV is long long diff --git a/ext/Storable/Storable.pm b/ext/Storable/Storable.pm index 94eff35..8346fda 100644 --- a/ext/Storable/Storable.pm +++ b/ext/Storable/Storable.pm @@ -21,7 +21,7 @@ package Storable; @ISA = qw(Exporter DynaLoader); use AutoLoader; use vars qw($canonical $forgive_me $VERSION); -$VERSION = '2.03'; +$VERSION = '2.04'; *AUTOLOAD = \&AutoLoader::AUTOLOAD; # Grrr... #