1
Subject: wrong order in file creation
2
Description: tie operation has flags and mode in the wrong order.
3
Fixed upstream with commit 2b0daf196e0f2acf373c2bc8f0bf2449c36edf40.
4
Patch should be removed with next upstream release.
5
Author: Olivier Sallou <olivier.sallou@irisa.fr
6
Last-Updated: 02/03/2012
7
--- a/Bio/DB/SeqFeature/Store/berkeleydb3.pm
8
+++ b/Bio/DB/SeqFeature/Store/berkeleydb3.pm
10
my $numeric_cmp = DB_File::BTREEINFO->new;
11
$numeric_cmp->{compare} = sub { $_[0] <=> $_[1] };
12
$numeric_cmp->{flags} = R_DUP;
13
- my $s = tie %sort,'DB_File',$name,0666,O_CREAT|O_RDWR,$numeric_cmp
14
+ my $s = tie %sort,'DB_File',$name,O_CREAT|O_RDWR,0666,$numeric_cmp
15
or $self->throw("Couldn't create temporary file for sorting: $!");
17
my $index = $self->index_db('locations');