diff options
author | Paul Marquess <paul.marquess@btinternet.com> | 2007-10-29 13:08:31 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-10-31 11:15:16 +0000 |
commit | 10261a362e0a3948689d15d534e8b10911441cb5 (patch) | |
tree | 91a8ad6b0bdd0eaec5a1e0dce32949ffc16d5b34 /ext/DB_File | |
parent | 69f75412c24fce552b8b5e9d850d902224e3272b (diff) | |
download | perl-10261a362e0a3948689d15d534e8b10911441cb5.tar.gz |
DB_File
From: "Paul Marquess" <paul_marquess@yahoo.co.uk>
Message-ID: <004a01c81a2c$ce1eb020$3a3c140a@myopwv.com>
p4raw-id: //depot/perl@32208
Diffstat (limited to 'ext/DB_File')
-rw-r--r-- | ext/DB_File/Changes | 7 | ||||
-rw-r--r-- | ext/DB_File/DB_File.pm | 14 | ||||
-rw-r--r-- | ext/DB_File/DB_File.xs | 2 |
3 files changed, 14 insertions, 9 deletions
diff --git a/ext/DB_File/Changes b/ext/DB_File/Changes index 44c3930252..bb19ff2243 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 beb00b577b..09543d7ab6 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<DB_File> 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<http://www.sleepycat.com>. +The official web site for Berkeley DB is F<http://www.oracle.com/technology/products/berkeley-db/db/index.html>. 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<http://www.sleepycat.com>) regarding the license: +F<http://www.oracle.com/technology/products/berkeley-db/db/index.html>) regarding the license: Do I have to license DB to use it in Perl scripts? @@ -2294,7 +2294,5 @@ L<perldbmfilter> The DB_File interface was written by Paul Marquess E<lt>pmqs@cpan.orgE<gt>. -Questions about the DB system itself may be addressed to -E<lt>db@sleepycat.comE<gt>. =cut diff --git a/ext/DB_File/DB_File.xs b/ext/DB_File/DB_File.xs index 5973138a87..6e91dda61a 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) ; |