diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2011-08-06 17:38:01 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2011-08-06 19:19:01 +0100 |
commit | a30cae0b01fd4edd8cdf5801d652cd9bf39dbfe0 (patch) | |
tree | 5f55f3214d238f09dd541ef44717a8dcd55a3196 /cpan | |
parent | e4ac890e26cfafba9132e6b4a68619e82201be3d (diff) | |
download | perl-a30cae0b01fd4edd8cdf5801d652cd9bf39dbfe0.tar.gz |
Update DB_File to CPAN version 1.823
[DELTA]
1.823 6 Aug 2011
* croak if attempt to freeze/thaw DB_File object
[RT #69985]
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/DB_File/Changes | 8 | ||||
-rw-r--r-- | cpan/DB_File/DB_File.pm | 20 | ||||
-rw-r--r-- | cpan/DB_File/t/db-recno.t | 1 |
3 files changed, 23 insertions, 6 deletions
diff --git a/cpan/DB_File/Changes b/cpan/DB_File/Changes index 79da038eed..2bdbd28a1d 100644 --- a/cpan/DB_File/Changes +++ b/cpan/DB_File/Changes @@ -1,4 +1,12 @@ +1.823 6 Aug 2011 + * croak if attempt to freeze/thaw DB_File object + [RT #69985] + +1.822 12 March 2011 + + * Link rot + [rt.cpan.org #69739] 1.822 12 March 2011 diff --git a/cpan/DB_File/DB_File.pm b/cpan/DB_File/DB_File.pm index 7b8755bd54..0f813d512a 100644 --- a/cpan/DB_File/DB_File.pm +++ b/cpan/DB_File/DB_File.pm @@ -165,7 +165,7 @@ our ($db_version, $use_XSLoader, $splice_end_array_no_length, $splice_end_array, use Carp; -$VERSION = "1.822" ; +$VERSION = "1.823" ; $VERSION = eval $VERSION; # needed for dev releases { @@ -578,6 +578,20 @@ sub get_dup } +sub STORABLE_freeze +{ + my $type = ref shift; + croak "Cannot freeze $type object\n"; +} + +sub STORABLE_thaw +{ + my $type = ref shift; + croak "Cannot thaw $type object\n"; +} + + + 1; __END__ @@ -2263,10 +2277,6 @@ All versions of Berkeley DB are available there. Alternatively, Berkeley DB version 1 is available at your nearest CPAN archive in F<src/misc/db.1.85.tar.gz>. -If you are running IRIX, then get Berkeley DB version 1 from -F<http://reality.sgi.com/ariel>. It has the patches necessary to -compile properly on IRIX 5.3. - =head1 COPYRIGHT Copyright (c) 1995-2007 Paul Marquess. All rights reserved. This program diff --git a/cpan/DB_File/t/db-recno.t b/cpan/DB_File/t/db-recno.t index 404a060fa7..bd198dcf2f 100644 --- a/cpan/DB_File/t/db-recno.t +++ b/cpan/DB_File/t/db-recno.t @@ -1,6 +1,5 @@ #!./perl -w -use warnings; use strict; use Config; |