From: Gurusamy Sarathy Date: Thu, 27 Apr 2000 20:41:20 +0000 (+0000) Subject: DB_File v1.73 update (from Paul Marquess) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=88c74d4bc751d901cc16d8775bf5f51c45cc0228;p=p5sagit%2Fp5-mst-13.2.git DB_File v1.73 update (from Paul Marquess) p4raw-id: //depot/perl@5976 --- diff --git a/ext/DB_File/Changes b/ext/DB_File/Changes index 95eb487..ad54382 100644 --- a/ext/DB_File/Changes +++ b/ext/DB_File/Changes @@ -291,3 +291,8 @@ to David Harris for spotting the underlying problem, contributing the updates to the documentation and writing DB_File::Lock (available on CPAN). + +1.73 27th April 2000 + + * Added support in version.c for building with threaded Perl. + diff --git a/ext/DB_File/DB_File.pm b/ext/DB_File/DB_File.pm index 00b24b9..a1ec0e6 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 16th January 2000 -# version 1.72 +# last modified 26th April 2000 +# version 1.73 # # Copyright (c) 1995-2000 Paul Marquess. All rights reserved. # This program is free software; you can redistribute it and/or @@ -147,7 +147,7 @@ use vars qw($VERSION @ISA @EXPORT $AUTOLOAD $DB_BTREE $DB_HASH $DB_RECNO use Carp; -$VERSION = "1.72" ; +$VERSION = "1.73" ; #typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE; $DB_BTREE = new DB_File::BTREEINFO ; diff --git a/ext/DB_File/DB_File.xs b/ext/DB_File/DB_File.xs index 2b76bab..cb8fd80 100644 --- a/ext/DB_File/DB_File.xs +++ b/ext/DB_File/DB_File.xs @@ -3,8 +3,8 @@ DB_File.xs -- Perl 5 interface to Berkeley DB written by Paul Marquess - last modified 16th January 2000 - version 1.72 + last modified 27th April 2000 + version 1.73 All comments/suggestions/problems are welcome @@ -82,6 +82,7 @@ Support for Berkeley DB 2/3's backward compatability mode. Rewrote push 1.72 - No change to DB_File.xs + 1.73 - No change to DB_File.xs */ diff --git a/ext/DB_File/version.c b/ext/DB_File/version.c index f8c6cac..f3e2c94 100644 --- a/ext/DB_File/version.c +++ b/ext/DB_File/version.c @@ -4,7 +4,7 @@ written by Paul Marquess last modified 16th January 2000 - version 1.72 + version 1.73 All comments/suggestions/problems are welcome @@ -16,6 +16,7 @@ 1.71 - Support for Berkeley DB version 3. Support for Berkeley DB 2/3's backward compatability mode. 1.72 - No change. + 1.73 - Added support for threading */ @@ -28,6 +29,9 @@ void __getBerkeleyDBInfo() { +#ifdef dTHX + dTHX; +#endif SV * version_sv = perl_get_sv("DB_File::db_version", GV_ADD|GV_ADDMULTI) ; SV * ver_sv = perl_get_sv("DB_File::db_ver", GV_ADD|GV_ADDMULTI) ; SV * compat_sv = perl_get_sv("DB_File::db_185_compat", GV_ADD|GV_ADDMULTI) ;