From: Paul Marquess Date: Mon, 29 Oct 2007 13:08:31 +0000 (+0000) Subject: DB_File X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10261a362e0a3948689d15d534e8b10911441cb5;p=p5sagit%2Fp5-mst-13.2.git DB_File From: "Paul Marquess" Message-ID: <004a01c81a2c$ce1eb020$3a3c140a@myopwv.com> p4raw-id: //depot/perl@32208 --- diff --git a/ext/DB_File/Changes b/ext/DB_File/Changes index 44c3930..bb19ff2 100644 --- a/ext/DB_File/Changes +++ b/ext/DB_File/Changes @@ -1,5 +1,12 @@ +1.816 28 October 2007 + + * Clarified the warning about building with a different version of + Berkeley DB that is used at runtime. + * Also made the boot version check less strict. + [rt.cpan.org #30013] + 1.815 4 February 2007 * A few casting cleanups for building with C++ from Steve Peters. diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm index beb00b5..09543d7 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 (pmqs@cpan.org) -# last modified 4th February 2007 -# version 1.815 +# last modified 28th October 2007 +# version 1.816 # # Copyright (c) 1995-2007 Paul Marquess. All rights reserved. # This program is free software; you can redistribute it and/or @@ -165,7 +165,7 @@ our ($db_version, $use_XSLoader, $splice_end_array, $Error); use Carp; -$VERSION = "1.815" ; +$VERSION = "1.816" ; { local $SIG{__WARN__} = sub {$splice_end_array = "@_";}; @@ -2249,7 +2249,7 @@ This version of B will work with either version 1.x, 2.x or 3.x of Berkeley DB, but is limited to the functionality provided by version 1. -The official web site for Berkeley DB is F. +The official web site for Berkeley DB is F. All versions of Berkeley DB are available there. Alternatively, Berkeley DB version 1 is available at your nearest CPAN @@ -2261,7 +2261,7 @@ compile properly on IRIX 5.3. =head1 COPYRIGHT -Copyright (c) 1995-2005 Paul Marquess. All rights reserved. This program +Copyright (c) 1995-2007 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. @@ -2270,7 +2270,7 @@ makes use of, namely Berkeley DB, is not. Berkeley DB has its own copyright and its own license. Please take the time to read it. Here are are few words taken from the Berkeley DB FAQ (at -F) regarding the license: +F) regarding the license: Do I have to license DB to use it in Perl scripts? @@ -2294,7 +2294,5 @@ L The DB_File interface was written by Paul Marquess Epmqs@cpan.orgE. -Questions about the DB system itself may be addressed to -Edb@sleepycat.comE. =cut diff --git a/ext/DB_File/DB_File.xs b/ext/DB_File/DB_File.xs index 5973138..6e91dda 100644 --- a/ext/DB_File/DB_File.xs +++ b/ext/DB_File/DB_File.xs @@ -1192,7 +1192,7 @@ SV * sv ; Flags |= DB_TRUNCATE ; #endif - status = db_open(name, RETVAL->type, Flags, mode, NULL, (DB_INFO*) openinfo, &RETVAL->dbp) ; + status = db_open(name, RETVAL->type, Flags, mode, NULL, openinfo, &RETVAL->dbp) ; if (status == 0) #if DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR < 6 status = (RETVAL->dbp->cursor)(RETVAL->dbp, NULL, &RETVAL->cursor) ;