projects
/
dbsrgits/DBM-Deep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added unflocks to all tests so that the tests run on OSX
[dbsrgits/DBM-Deep.git]
/
lib
/
DBM
/
Deep
/
Engine.pm
diff --git
a/lib/DBM/Deep/Engine.pm
b/lib/DBM/Deep/Engine.pm
index
ad75d91
..
3f6a99b
100644
(file)
--- a/
lib/DBM/Deep/Engine.pm
+++ b/
lib/DBM/Deep/Engine.pm
@@
-109,7
+109,9
@@
sub setup_fh {
$self->open( $obj ) if !defined $obj->_fh;
my $fh = $obj->_fh;
+ print "1\n";
flock $fh, LOCK_EX;
+ print "2\n";
unless ( $obj->{base_offset} ) {
seek($fh, 0 + $obj->_root->{file_offset}, SEEK_SET);