diff options
author | Nicholas Clark <nick@ccl4.org> | 2002-06-08 01:39:22 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-07 22:43:37 +0000 |
commit | 17374ab3afe4ff0ac911cd7c1f0c26cf654b7058 (patch) | |
tree | a915a20201aa8dbd0318b40d97e5e13267fe7080 /ext | |
parent | 236f00125b5b7de76a7c2be98074844ba71dcf34 (diff) | |
download | perl-17374ab3afe4ff0ac911cd7c1f0c26cf654b7058.tar.gz |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Storable/ChangeLog | 17 | ||||
-rw-r--r-- | ext/Storable/Storable.pm | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/ext/Storable/ChangeLog b/ext/Storable/ChangeLog index 1b151537f5..a561108a0e 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 <radu@netsoft.ro> (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 <nick@ccl4.org> 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 94eff35641..8346fdafc1 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... # |