From: Jarkko Hietaniemi Date: Sat, 27 Oct 2001 20:58:33 +0000 (+0000) Subject: Patch #12661 missed this. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5021521e37da08fb6242805d713e4bee6f07c2a;p=p5sagit%2Fp5-mst-13.2.git Patch #12661 missed this. p4raw-id: //depot/perl@12713 --- diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm index 5ac1120..432ae8a 100644 --- a/ext/DB_File/DB_File.pm +++ b/ext/DB_File/DB_File.pm @@ -1,8 +1,8 @@ # DB_File.pm -- Perl 5 interface to Berkeley DB # # written by Paul Marquess (Paul.Marquess@btinternet.com) -# last modified 30th July 2001 -# version 1.78 +# last modified 22nc Oct 2001 +# version 1.79 # # Copyright (c) 1995-2001 Paul Marquess. All rights reserved. # This program is free software; you can redistribute it and/or @@ -11,7 +11,7 @@ package DB_File::HASHINFO ; -require 5.003 ; +require 5.00404; use warnings; use strict; @@ -151,7 +151,7 @@ use vars qw($VERSION @ISA @EXPORT $AUTOLOAD $DB_BTREE $DB_HASH $DB_RECNO use Carp; -$VERSION = "1.78" ; +$VERSION = "1.79" ; #typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE; $DB_BTREE = new DB_File::BTREEINFO ; @@ -163,7 +163,7 @@ require Exporter; use AutoLoader; BEGIN { $use_XSLoader = 1 ; - eval { require XSLoader } ; + { local $SIG{__DIE__} ; eval { require XSLoader } ; } if ($@) { $use_XSLoader = 0 ; @@ -595,7 +595,7 @@ DB_File - Perl5 access to Berkeley DB version 1.x B is a module which allows Perl programs to make use of the facilities provided by Berkeley DB version 1.x (if you have a newer -version of DB, see L). +version of DB, see L is intended to be used with Berkeley DB version 1, -it can also be used with version 2 or 3. In this case the interface is +it can also be used with version 2, 3 or 4. In this case the interface is limited to the functionality provided by Berkeley DB 1.x. Anywhere the -version 2 or 3 interface differs, B arranges for it to work +version 2 or greater interface differs, B arranges for it to work like version 1. This feature allows B scripts that were built -with version 1 to be migrated to version 2 or 3 without any changes. +with version 1 to be migrated to version 2 or greater without any changes. If you want to make use of the new features available in Berkeley DB 2.x or greater, use the Perl module B instead. -B The database file format has changed in both Berkeley DB -version 2 and 3. If you cannot recreate your databases, you must dump -any existing databases with either the C or the C -utility that comes with Berkeley DB. -Once you have rebuilt DB_File to use Berkeley DB version 2 or 3, your -databases can be recreated using C. Refer to the Berkeley DB +B The database file format has changed multiple times in Berkeley +DB version 2, 3 and 4. If you cannot recreate your databases, you +must dump any existing databases with either the C or the +C utility that comes with Berkeley DB. +Once you have rebuilt DB_File to use Berkeley DB version 2 or greater, +your databases can be recreated using C. Refer to the Berkeley DB documentation for further details. -Please read L<"COPYRIGHT"> before using version 2.x or 3.x of Berkeley +Please read L<"COPYRIGHT"> before using version 2.x or greater of Berkeley DB with DB_File. =head2 Interface to Berkeley DB