summaryrefslogtreecommitdiff
path: root/ext/DB_File
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-04-27 20:41:20 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-04-27 20:41:20 +0000
commit88c74d4bc751d901cc16d8775bf5f51c45cc0228 (patch)
tree4fa1fd8ca797bd80e2744ba4926c067bfa8f4963 /ext/DB_File
parent8e664e1028b4453f9f359cddea96cf56ea4a7c51 (diff)
downloadperl-88c74d4bc751d901cc16d8775bf5f51c45cc0228.tar.gz
DB_File v1.73 update (from Paul Marquess)
p4raw-id: //depot/perl@5976
Diffstat (limited to 'ext/DB_File')
-rw-r--r--ext/DB_File/Changes5
-rw-r--r--ext/DB_File/DB_File.pm6
-rw-r--r--ext/DB_File/DB_File.xs5
-rw-r--r--ext/DB_File/version.c6
4 files changed, 16 insertions, 6 deletions
diff --git a/ext/DB_File/Changes b/ext/DB_File/Changes
index 95eb487e56..ad54382d63 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 00b24b90e6..a1ec0e6362 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 2b76bab722..cb8fd80385 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 <Paul.Marquess@btinternet.com>
- 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 f8c6cac9af..f3e2c947c8 100644
--- a/ext/DB_File/version.c
+++ b/ext/DB_File/version.c
@@ -4,7 +4,7 @@
written by Paul Marquess <Paul.Marquess@btinternet.com>
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) ;