1.833 bump

This commit is contained in:
Petr Písař 2014-12-10 15:52:34 +01:00
parent 30e2994e1a
commit 96c1960258
4 changed files with 14 additions and 10 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/DB_File-1.829.tar.gz
/DB_File-1.830.tar.gz
/DB_File-1.831.tar.gz
/DB_File-1.833.tar.gz

View File

@ -1,4 +1,4 @@
From d4499d6a6f8007df03fe5292aab4ba0367499dd0 Mon Sep 17 00:00:00 2001
From 6d488944a7b5f5342bd249c7fe045df79779ed8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 10 Jun 2014 14:28:09 +0200
Subject: [PATCH] Destroy DB_File objects only from original thread context
@ -28,10 +28,10 @@ Signed-off-by: Petr Písař <ppisar@redhat.com>
create mode 100644 t/db-threads.t
diff --git a/DB_File.xs b/DB_File.xs
index 679c416..762f4ed 100755
index d060dcb..83d77ea 100755
--- a/DB_File.xs
+++ b/DB_File.xs
@@ -397,6 +397,7 @@ typedef union INFO {
@@ -407,6 +407,7 @@ typedef union INFO {
typedef struct {
DBTYPE type ;
@ -39,7 +39,7 @@ index 679c416..762f4ed 100755
DB * dbp ;
SV * compare ;
bool in_compare ;
@@ -983,6 +984,7 @@ SV * sv ;
@@ -1007,6 +1008,7 @@ SV * sv ;
name, flags, mode, sv == NULL) ;
#endif
Zero(RETVAL, 1, DB_File_type) ;
@ -47,7 +47,7 @@ index 679c416..762f4ed 100755
/* Default to HASH */
RETVAL->filtering = 0 ;
@@ -1255,6 +1257,7 @@ SV * sv ;
@@ -1279,6 +1281,7 @@ SV * sv ;
/* printf("In ParseOpenInfo name=[%s] flags=[%d] mode = [%d]\n", name, flags, mode) ; */
Zero(RETVAL, 1, DB_File_type) ;
@ -55,7 +55,7 @@ index 679c416..762f4ed 100755
/* Default to HASH */
RETVAL->filtering = 0 ;
@@ -1571,27 +1574,36 @@ db_DESTROY(db)
@@ -1598,27 +1601,36 @@ db_DESTROY(db)
INIT:
CurrentDB = db ;
Trace(("DESTROY %p\n", db));

View File

@ -1,6 +1,6 @@
Name: perl-DB_File
Version: 1.831
Release: 311%{?dist}
Version: 1.833
Release: 1%{?dist}
Summary: Perl5 access to Berkeley DB version 1.x
License: GPL+ or Artistic
Group: Development/Libraries
@ -8,7 +8,7 @@ URL: http://search.cpan.org/dist/DB_File/
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/DB_File-%{version}.tar.gz
# Destroy DB_File objects only from original thread context, bug #1107732,
# CPAN RT#96357
Patch0: DB_File-1.831-Destroy-DB_File-objects-only-from-original-thread-co.patch
Patch0: DB_File-1.833-Destroy-DB_File-objects-only-from-original-thread-co.patch
BuildRequires: libdb-devel
BuildRequires: perl
BuildRequires: perl(Config)
@ -72,6 +72,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed Dec 10 2014 Petr Pisar <ppisar@redhat.com> - 1.833-1
- 1.833 bump
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.831-311
- Perl 5.20 re-rebuild of bootstrapped packages

View File

@ -1 +1 @@
ba8b230d16151bdbba6d410f4a1af5cf DB_File-1.831.tar.gz
6402038623481f196ec3df319dfabfe6 DB_File-1.833.tar.gz